listing instructions code truncation
Brought to you by:
japheth
while compiling asm file to plain binary for x64, i've noticed that generated list file contains truncated x86 code (for example, from mov r10, 64-bit const, last byte simply truncated:
0000001A 49BADA16CF12000000 mov r10, myconstant
instruction are 10-byte long, but only 9 bytes are shown in listing.
Note the longest possible x86 instruction without redundant prefixes is 15 bytes so even if this was changed to 10 via #define CODEBYTES in listing.c it would not solve the problem for all possible cases.
Note this issue is basically a duplicate of item 2 in feature request #45 - http://sourceforge.net/p/jwasm/feature-requests/45/
I'm aware of this problem. There is currently no fix available.
You can probably close this since it is a duplicate of feature request #45.