summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorKeith Kanios <spook@dynatos.net>2007-04-13 01:17:45 +0000
committerKeith Kanios <spook@dynatos.net>2007-04-13 01:17:45 +0000
commit2cc61b34f0bc87010a649159f62d37d5ed529ee4 (patch)
treec36c670491aa9ddbbd22b551263f36158928540e /assemble.c
parentc1c5a2d96f952230e314babba952ac353d5d0984 (diff)
downloadnasm-2cc61b34f0bc87010a649159f62d37d5ed529ee4.tar.gz
nasm-2cc61b34f0bc87010a649159f62d37d5ed529ee4.tar.bz2
nasm-2cc61b34f0bc87010a649159f62d37d5ed529ee4.zip
Comment "REX.I" should have been "REX.X"
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/assemble.c b/assemble.c
index 3b7f9ce..c83cd9d 100644
--- a/assemble.c
+++ b/assemble.c
@@ -1712,11 +1712,11 @@ static ea *process_ea(operand * input, ea * output, int addrbits,
|| (s != 1 && s != 2 && s != 4 && s != 8 && it != -1))
return NULL; /* wrong, for various reasons */
- if (i >= 0400 && i < 0500) { /* Calculate REX.I */
+ if (i >= 0400 && i < 0500) { /* Calculate REX.X */
if (i < 0410 || (i >= 0440 && i < 0450))
output->rex |= 0xF0; /* Set REX.0 */
else
- output->rex |= 0xF2; /* Set REX.I */
+ output->rex |= 0xF2; /* Set REX.X */
if (i >= 0440)
output->rex |= 0xF8; /* Set REX.W */
}