Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Loops-Infinite/Z80-Assembly/loops-infinite.z80
Normal file
14
Task/Loops-Infinite/Z80-Assembly/loops-infinite.z80
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
org $4000
|
||||
|
||||
txt_output: equ $bb5a
|
||||
|
||||
start: ld hl,spam
|
||||
|
||||
print: ld a,(hl)
|
||||
cp 0
|
||||
jr z,start
|
||||
call txt_output
|
||||
inc hl
|
||||
jr print
|
||||
|
||||
spam: defm "SPAM\r\n\0"
|
||||
Loading…
Add table
Add a link
Reference in a new issue