Allow "sp" as an alias for "c_sp" for backwards compatibility. Using it will
work but generates a linker warning. Added a test to check for this warning.
This commit is contained in:
7
test/asm/listing/sp-compat.s
Normal file
7
test/asm/listing/sp-compat.s
Normal file
@@ -0,0 +1,7 @@
|
||||
.include "zeropage.inc"
|
||||
|
||||
.proc _func
|
||||
ldy #0
|
||||
lda (sp),y
|
||||
rts
|
||||
.endproc
|
||||
Reference in New Issue
Block a user