Files
rgbds/test/asm/union-pushs.asm
ISSOtm e3b7339dd6 Save UNION stack when using PUSHS as well
This allows using the latter within the former
2021-05-21 09:47:27 +02:00

26 lines
222 B
NASM

SECTION "Test", ROM0[0]
dw SIZEOF("RAM")
dw SIZEOF("HRAM")
SECTION "RAM",WRAM0
ds 654
UNION
ds 14
NEXTU
ds 897
PUSHS
SECTION "HRAM",HRAM
ds $7F
POPS
ds 75
NEXTU
ds 863
ENDU
ds 28