commit ab69827490c132558469bd0aebc3427c94edf870
parent 22cde750b3e0d4605e5fbdc127c03b8d28338ec0
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 11 Feb 2024 09:42:49 +0100
tests/as: Add tests for local labels
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/as/execute/z80.s b/tests/as/execute/z80.s
@@ -4,12 +4,14 @@
LD A,$SYM1 # 3E 09
INIT: LD A,$SYM2 # 3E 0F
- LD A,$SYM3 # 3E 0A
+.1 LD A,$SYM3 # 3E 0A
LD A,$SYM1+1 # 3E 0A
LD A,$SYM1-1 # 3E 08
LD A,$SYM4 # 3E 0B
LD A,$SYM5 # 3E 0C
LD HL,$INIT # 21 02 00
+ LD HL,$.1 # 21 04 00
+ LD HL,$INIT.1 # 21 04 00
###################################################
# we are going to test zilog syntax in z80