summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorKeith Kanios <spook@dynatos.net>2007-04-14 18:54:52 +0000
committerKeith Kanios <spook@dynatos.net>2007-04-14 18:54:52 +0000
commit61ff53c80d3aa89dc8fe091427aceafe0ff9cc28 (patch)
tree805db758e1a886cdd58061e1ac74d2b1b7a19684 /assemble.c
parentf4ba92577e012cf62a1d0833bbc5e7fa27101074 (diff)
downloadnasm-61ff53c80d3aa89dc8fe091427aceafe0ff9cc28.tar.gz
nasm-61ff53c80d3aa89dc8fe091427aceafe0ff9cc28.tar.bz2
nasm-61ff53c80d3aa89dc8fe091427aceafe0ff9cc28.zip
Added DQ constants for all BITS modes.
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/assemble.c b/assemble.c
index 160612f..5ec2246 100644
--- a/assemble.c
+++ b/assemble.c
@@ -248,9 +248,9 @@ int32_t assemble(int32_t segment, int32_t offset, int bits, uint32_t cp,
out(offset, segment, &out_byte,
OUT_RAWDATA + 1, NO_SEG, NO_SEG);
}
- } else if ((wsize > 4 && (bits != 64)) || (wsize > 8)) {
- errfunc(ERR_NONFATAL, "integer supplied to a D%c"
- " instruction", wsize == 8 ? 'Q' : 'T');
+ } else if (wsize > 8) {
+ errfunc(ERR_NONFATAL, "integer supplied to a DT"
+ " instruction");
} else
out(offset, segment, &e->offset,
OUT_ADDRESS + wsize, e->segment, e->wrt);