Skip to content

Instantly share code, notes, and snippets.

Created April 16, 2017 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f804343e5fe450fe7775fae6a727489d to your computer and use it in GitHub Desktop.
Save anonymous/f804343e5fe450fe7775fae6a727489d to your computer and use it in GitHub Desktop.
10 BLOAD"HELLO.BIN",R
10 BLOAD"HELLO.BIN",R
{"asm":{"filename":"hello.bin","build":"plain"},"basic":{}}
;
org 0d000h-7
db #fe
dw beginaddr
dw endaddr
dw startaddr
beginaddr:
startaddr:
call print
db "Hello World",0
ret
print:
pop hl
ld a,(hl)
inc hl
push hl
and a
ret z
rst 18h
jr print
endaddr:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment