mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-27 21:42:06 +00:00
Built-in symbols are "<builtin>", not "<command-line>" (#1362)
This commit is contained in:
26
test/asm/rs-overwrite.asm
Normal file
26
test/asm/rs-overwrite.asm
Normal file
@@ -0,0 +1,26 @@
|
||||
PURGE _RS
|
||||
PRINTLN _RS
|
||||
|
||||
DEF _RS EQU 1
|
||||
PRINTLN _RS
|
||||
|
||||
DEF _RS = 2 ; this works
|
||||
PRINTLN _RS
|
||||
|
||||
DEF _RS EQUS "3"
|
||||
PRINTLN _RS
|
||||
|
||||
REDEF _RS = 4 ; this works
|
||||
PRINTLN _RS
|
||||
|
||||
REDEF _RS EQU 5
|
||||
PRINTLN _RS
|
||||
|
||||
REDEF _RS EQUS "6"
|
||||
PRINTLN _RS
|
||||
|
||||
RSSET 7 ; this works
|
||||
PRINTLN _RS
|
||||
|
||||
RSRESET
|
||||
PRINTLN _RS
|
||||
Reference in New Issue
Block a user