mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
This is a WIP checkpoint; not all tests pass yet. More matching changes, and hopefully something much closer to what really is desired now. The number of required patterns is now much smaller. However, a lot of *changes* are needed to the patterns. Since some patterns are repeated all over the place, clean up the x86/addflags.pl script and make it able to generate macro-based common patterns; first use being the patterns for the "basic 8" arithmetic patterns. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
22 lines
289 B
NASM
22 lines
289 B
NASM
bits 16
|
|
|
|
add sp, byte -0x10
|
|
add sp, -0x10
|
|
add sp, word -0x10
|
|
|
|
adc sp, byte -0x10
|
|
adc sp, -0x10
|
|
adc sp, word -0x10
|
|
|
|
and sp, byte -0x10
|
|
and sp, -0x10
|
|
and sp, word -0x10
|
|
|
|
sbb sp, byte -0x10
|
|
sbb sp, -0x10
|
|
sbb sp, word -0x10
|
|
|
|
sub sp, byte -0x10
|
|
sub sp, -0x10
|
|
sub sp, word -0x10
|