Initial Commit
This commit is contained in:
9
C264k/Part2/Pt2.2-Write.z80
Normal file
9
C264k/Part2/Pt2.2-Write.z80
Normal file
@@ -0,0 +1,9 @@
|
||||
;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
|
||||
Reference in New Issue
Block a user