diff options
author | Keith Kanios <spook@dynatos.net> | 2007-04-14 03:52:05 +0000 |
---|---|---|
committer | Keith Kanios <spook@dynatos.net> | 2007-04-14 03:52:05 +0000 |
commit | b2a0380eb8a4bba698401f59fe4b557e63662fb0 (patch) | |
tree | 9b0397d2152cdd619dbff11e6b6f9b7fbe67b89e /assemble.c | |
parent | c8ef68bba92bd840f4b178a92cd2b7018a3388b9 (diff) | |
download | nasm-b2a0380eb8a4bba698401f59fe4b557e63662fb0.tar.gz nasm-b2a0380eb8a4bba698401f59fe4b557e63662fb0.tar.bz2 nasm-b2a0380eb8a4bba698401f59fe4b557e63662fb0.zip |
Fixed support for DQ constants in long mode.
Diffstat (limited to 'assemble.c')
-rw-r--r-- | assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -248,7 +248,7 @@ 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 > 5) { + } else if ((wsize > 4 && (bits != 64)) || (wsize > 8)) { errfunc(ERR_NONFATAL, "integer supplied to a D%c" " instruction", wsize == 8 ? 'Q' : 'T'); } else |