EXTRA_DIST += modules/arch/x86/tests/cpubasic-err.errwarn
EXTRA_DIST += modules/arch/x86/tests/div-err.asm
EXTRA_DIST += modules/arch/x86/tests/div-err.errwarn
+EXTRA_DIST += modules/arch/x86/tests/ea-over.asm
+EXTRA_DIST += modules/arch/x86/tests/ea-over.errwarn
+EXTRA_DIST += modules/arch/x86/tests/ea-over.hex
EXTRA_DIST += modules/arch/x86/tests/effaddr.asm
EXTRA_DIST += modules/arch/x86/tests/effaddr.errwarn
EXTRA_DIST += modules/arch/x86/tests/effaddr.hex
break;
}
- /* make sure the displacement will fit in 16/32 bits if unsigned,
- * and 8 bits if signed.
- */
- if (!yasm_intnum_check_size(intn, (size_t)wordsize*8, 0, 0) &&
- !yasm_intnum_check_size(intn, 8, 0, 1)) {
- yasm__error(e->line, N_("invalid effective address"));
- return 1;
- }
-
/* don't try to find out what size displacement we have if
* displen is known.
*/
break;
}
- /* Don't worry about overflows here (it's already guaranteed
- * to be 16/32 or 8 bits).
- */
dispval = yasm_intnum_get_int(intn);
/* Figure out what size displacement we will have. */