mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-09 01:38:05 +11:00
14 lines
186 B
NASM
14 lines
186 B
NASM
|
; 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
|