collapseos/recipes/rc2014/sdcard/helo.asm

11 lines
136 B
NASM
Raw Normal View History

; prints "Hello!" on screen
.equ printstr 0x03
.org 0x9000
ld hl, sHello
jp printstr ; return
sHello:
.db "Hello!", 0x0d, 0x0a, 0