Fixed support for DQ constants in long mode.

This commit is contained in:
Keith Kanios 2007-04-14 03:52:05 +00:00
parent c8ef68bba9
commit b2a0380eb8

View File

@ -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