Files
z80/C264k/Part2/Pt2.2-Write.z80
2022-09-11 01:13:35 -04:00

9 lines
213 B
Z80 Assembly

;Pt2.2-Write.z80
org 0
ld hl,42 ;Load 42 into the HL register pair
loop:
ld (hl),a ;Load contents of the A register into the memory
;address pointed to by HL
jr loop