Implement . string constant for the current label scope (#1499)

This commit is contained in:
Sylvie
2024-09-13 15:20:01 -04:00
committed by GitHub
parent bfb96b038d
commit 122ef95d9c
15 changed files with 133 additions and 23 deletions

12
test/asm/label-scope.asm Normal file
View File

@@ -0,0 +1,12 @@
ASSERT !DEF(@) && !DEF(.)
PURGE @, .
SECTION "test", ROM0[42]
Foobar:
PURGE @, .
ASSERT DEF(@) && DEF(.) && DEF(Foobar)
PRINTLN "PC: {#05X:@}; label scope: \"{.}\"; {.}: {#05X:{.}}"