Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
18
Task/Hello-world-Text/Z80-Assembly/hello-world-text.z80
Normal file
18
Task/Hello-world-Text/Z80-Assembly/hello-world-text.z80
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
org $4000
|
||||
|
||||
txt_output: equ $bb5a
|
||||
|
||||
push hl
|
||||
ld hl,world
|
||||
|
||||
print: ld a,(hl)
|
||||
cp 0
|
||||
jr z,end
|
||||
call txt_output
|
||||
inc hl
|
||||
jr print
|
||||
|
||||
end: pop hl
|
||||
ret
|
||||
|
||||
world: defm "Hello world!\r\n\0"
|
||||
Loading…
Add table
Add a link
Reference in a new issue