Files
rgbds/test/asm/pushs.asm
Eldred Habert 21b59c4651 Reinstate PUSHS clearing the SECTION scope (#870)
* Reinstate PUSHS clearing the SECTION scope

Otherwise you can use `PUSHS` to simulate the old `ds -21`, and possibly cause bugs

* Have PUSHS push LOAD block state as well

It does not make sense not to, and coud cause bugs.
2021-05-01 23:30:09 +02:00

6 lines
102 B
NASM

SECTION "This is invalid", ROM0
ds 10, 42
PUSHS
; We should be outside of section scope now
db 69