Created
April 16, 2017 17:16
-
-
Save anonymous/f804343e5fe450fe7775fae6a727489d to your computer and use it in GitHub Desktop.
10 BLOAD"HELLO.BIN",R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 BLOAD"HELLO.BIN",R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"asm":{"filename":"hello.bin","build":"plain"},"basic":{}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
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