shithub: rgbds

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