shithub: rgbds

ref: c2ca46c27d622a17c6248782d628c89c49bfb972
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