shithub: rgbds

ref: 71e22f3bfe52a4e33b6a77e860dd6f80f4bb7e53
dir: /test/asm/union-pushs.asm/

View raw version

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