shithub: rgbds

ref: 7311fc9ef81bcab931b9ca768f018a627f281933
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