shithub: rgbds

Download patch

ref: 88eceec25755cf1ec0405c7744c71129d246b0c8
parent: 7592eaf42bc121b5cb1e48f32423baf3d362b270
author: Jakub Kądziołka <kuba@kadziolka.net>
date: Sat Jun 8 17:01:44 EDT 2019

Add a test for the behavior of NARG after SHIFT

--- /dev/null
+++ b/test/asm/narg-decreases-after-shift.asm
@@ -1,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
--- /dev/null
+++ b/test/asm/narg-decreases-after-shift.out.bin
@@ -1,0 +1,1 @@
+
\ No newline at end of file