diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-05 17:04:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-05 17:04:32 -0700 |
commit | c189b440329cf447edbbf5809ebb74deadad67e9 (patch) | |
tree | ad54f8decd70f616a1a5df4d80d75189464cddbd | |
parent | a7abb7536dd21ee9879d1e3a3dffe33ba8e8a508 (diff) | |
download | nasm-c189b440329cf447edbbf5809ebb74deadad67e9.tar.gz nasm-c189b440329cf447edbbf5809ebb74deadad67e9.tar.bz2 nasm-c189b440329cf447edbbf5809ebb74deadad67e9.zip |
Emit REX prefix before literal zero (\170)
-rw-r--r-- | assemble.c | 1 | ||||
-rw-r--r-- | test/zerobyte.bin | bin | 0 -> 4 bytes |
2 files changed, 1 insertions, 0 deletions
@@ -1401,6 +1401,7 @@ static void gencode(int32_t segment, int32_t offset, int bits, break; case 0170: + EMIT_REX(); bytes[0] = 0; out(offset, segment, bytes, OUT_RAWDATA + 1, NO_SEG, NO_SEG); offset += 1; diff --git a/test/zerobyte.bin b/test/zerobyte.bin Binary files differnew file mode 100644 index 0000000..d0fa5b9 --- /dev/null +++ b/test/zerobyte.bin |