1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-09 01:38:05 +11:00
collapseos/apps/zasm/emul/wrapper.asm

14 lines
186 B
NASM
Raw Normal View History

; setup the stack
ld hl, 0xffff
ld sp, hl
; zasm input
ld hl, 0x9000
; zasm output
ld hl, 0xc000
call zasm
; signal the emulator we're done
out (0), a
halt
zasm:
; beginning of the code