Ajout premier fichier

This commit is contained in:
rick 2021-05-10 17:33:25 +02:00
commit 94d56e98dc
Signed by: Rick
GPG key ID: 2B593F087240EE99

26
hello.asm Normal file
View file

@ -0,0 +1,26 @@
org &4000
db "AB"
dw Start
db 00,00,00,00,00,00
Start:
call &006F
ld a, 32
ld (&F3B0), a
ld hl, Message
call PrintString
di
halt
PrintString:
ld a, (hl)
cp 255
ret z
inc hl
call &00A2
jr PrintString
Message: db 'Hello World!', 255
org &C000