summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-04-16 02:02:06 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-04-16 02:02:06 +0000
commitb061d595fb3d29f58e255db83ec9ac93c7d44d92 (patch)
tree1b25a98000637af2e4ff68dfe2fe7fd95cfbf71a /assemble.c
parent88aa185d36436e20490448a0e8e03632fba16a8e (diff)
downloadnasm-b061d595fb3d29f58e255db83ec9ac93c7d44d92.tar.gz
nasm-b061d595fb3d29f58e255db83ec9ac93c7d44d92.tar.bz2
nasm-b061d595fb3d29f58e255db83ec9ac93c7d44d92.zip
Fixes for 64-bit ndisasm.
This fixes some of the most glaring bugs in ndisasm 64-bit mode. We're still getting redundant prefixes for unknown reason, however.
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/assemble.c b/assemble.c
index 32452c5..114354c 100644
--- a/assemble.c
+++ b/assemble.c
@@ -25,8 +25,9 @@
* assembly mode or the operand-size override on the operand
* \37 - a word constant, from the _segment_ part of operand 0
* \40, \41, \42 - a long immediate operand, from operand 0, 1 or 2
- * \44, \45, \46 - select between \3[012] and \4[012] depending on 16/32 bit
- * assembly mode or the address-size override on the operand
+ * \44, \45, \46 - select between \3[012], \4[012] and \5[456]
+ * depending on assembly mode or the address-size override
+ * on the operand.
* \50, \51, \52 - a byte relative operand, from operand 0, 1 or 2
* \54, \55, \56 - a qword immediate operand, from operand 0, 1 or 2
* \60, \61, \62 - a word relative operand, from operand 0, 1 or 2