shithub: rgbds

ref: 638d02404074f27af64f2cbf196fbac51cf81099
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