Later I will probably further optimise things, but for now it is fine.
Ok, then :)
I asked because if we tested some builder and it works fine then it is no warranty that other builders also works fine. And it means that need more tests then.
A community discussion post from the original code:zIRON forum.
Later I will probably further optimise things, but for now it is fine.
Ok, then :)
I asked because if we tested some builder and it works fine then it is no warranty that other builders also works fine. And it means that need more tests then.
Here are all jumps can be coded as short:
program RAW_IMAGE 'test';
#set bits 32;
$repeat 64: jmp l1 $end l1:
Result:
00000000 E987000000 jmp dword 0x8c
00000005 E982000000 jmp dword 0x8c
0000000A E97D000000 jmp dword 0x8c
0000000F E978000000 jmp dword 0x8c
00000014 EB76 jmp short 0x8c
00000016 EB74 jmp short 0x8c
00000018 EB72 jmp short 0x8c
0000001A EB70 jmp short 0x8c
0000001C EB6E jmp short 0x8c
0000001E EB6C jmp short 0x8c
00000020 EB6A jmp short 0x8c
00000022 EB68 jmp short 0x8c
00000024 EB66 jmp short 0x8c
00000026 EB64 jmp short 0x8c
00000028 EB62 jmp short 0x8c
0000002A EB60 jmp short 0x8c
0000002C EB5E jmp short 0x8c
0000002E EB5C jmp short 0x8c
00000030 EB5A jmp short 0x8c
00000032 EB58 jmp short 0x8c
00000034 EB56 jmp short 0x8c
00000036 EB54 jmp short 0x8c
00000038 EB52 jmp short 0x8c
0000003A EB50 jmp short 0x8c
0000003C EB4E jmp short 0x8c
0000003E EB4C jmp short 0x8c
00000040 EB4A jmp short 0x8c
00000042 EB48 jmp short 0x8c
00000044 EB46 jmp short 0x8c
00000046 EB44 jmp short 0x8c
00000048 EB42 jmp short 0x8c
0000004A EB40 jmp short 0x8c
0000004C EB3E jmp short 0x8c
0000004E EB3C jmp short 0x8c
00000050 EB3A jmp short 0x8c
00000052 EB38 jmp short 0x8c
00000054 EB36 jmp short 0x8c
00000056 EB34 jmp short 0x8c
00000058 EB32 jmp short 0x8c
0000005A EB30 jmp short 0x8c
0000005C EB2E jmp short 0x8c
0000005E EB2C jmp short 0x8c
00000060 EB2A jmp short 0x8c
00000062 EB28 jmp short 0x8c
00000064 EB26 jmp short 0x8c
00000066 EB24 jmp short 0x8c
00000068 EB22 jmp short 0x8c
0000006A EB20 jmp short 0x8c
0000006C EB1E jmp short 0x8c
0000006E EB1C jmp short 0x8c
00000070 EB1A jmp short 0x8c
00000072 EB18 jmp short 0x8c
00000074 EB16 jmp short 0x8c
00000076 EB14 jmp short 0x8c
00000078 EB12 jmp short 0x8c
0000007A EB10 jmp short 0x8c
0000007C EB0E jmp short 0x8c
0000007E EB0C jmp short 0x8c
00000080 EB0A jmp short 0x8c
00000082 EB08 jmp short 0x8c
00000084 EB06 jmp short 0x8c
00000086 EB04 jmp short 0x8c
00000088 EB02 jmp short 0x8c
0000008A EB00 jmp short 0x8c
Fixed for next release.
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
repeat {
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Take a look at first not short instruction
;........................................
0000007C EB82 jmp short 0x0
0000007E E97DFFFFFF jmp dword 0x0
;........................................
It also can be coded as short variant i.e.
EB80
Result for above http://pastebin.com/0rFA3wFS
Thanks, this should be fixed in next release.