shithub: rgbds

ref: bbe28faab4f6dce29fe820450c425d255546cfbb
dir: /test/asm/load-pushs.asm/

View raw version

SECTION "Output", ROM0[0]
    db SIZEOF("ROM CODE")
    db SIZEOF("RAM CODE")
    db SIZEOF("HRAM")


SECTION "ROM CODE",ROM0
    ds $80
LOAD "RAM CODE",SRAM
PUSHS
SECTION "HRAM",HRAM
    ds 1
POPS
ENDL