mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add a test for the behavior of NARG after SHIFT
This commit is contained in:
14
test/asm/narg-decreases-after-shift.asm
Normal file
14
test/asm/narg-decreases-after-shift.asm
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
testing: MACRO
|
||||||
|
db _NARG
|
||||||
|
shift
|
||||||
|
db _NARG
|
||||||
|
shift
|
||||||
|
db _NARG
|
||||||
|
shift
|
||||||
|
db _NARG
|
||||||
|
shift
|
||||||
|
db _NARG
|
||||||
|
ENDM
|
||||||
|
|
||||||
|
SECTION "Test output", ROM0
|
||||||
|
testing 1, 2, 3
|
||||||
0
test/asm/narg-decreases-after-shift.out
Normal file
0
test/asm/narg-decreases-after-shift.out
Normal file
BIN
test/asm/narg-decreases-after-shift.out.bin
Normal file
BIN
test/asm/narg-decreases-after-shift.out.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user