0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/test/andbyte.asm
H. Peter Anvin c9457d42a6 WIP checkpoint: more matching changes, starting to work on patterns
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>
2024-08-11 21:28:57 -07:00

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