summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-05 17:04:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-05 17:04:32 -0700
commitc189b440329cf447edbbf5809ebb74deadad67e9 (patch)
treead54f8decd70f616a1a5df4d80d75189464cddbd /assemble.c
parenta7abb7536dd21ee9879d1e3a3dffe33ba8e8a508 (diff)
downloadnasm-c189b440329cf447edbbf5809ebb74deadad67e9.tar.gz
nasm-c189b440329cf447edbbf5809ebb74deadad67e9.tar.bz2
nasm-c189b440329cf447edbbf5809ebb74deadad67e9.zip
Emit REX prefix before literal zero (\170)
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/assemble.c b/assemble.c
index c3a9049..448a5d3 100644
--- a/assemble.c
+++ b/assemble.c
@@ -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;