Array concatenation: Difference between revisions
→{{header|Z80 Assembly}}: formatting
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) (→{{header|Z80 Assembly}}: formatting) |
||
Line 3,854:
Credit to Keith of [https://www.chibiakumas.com ChibiAkumas] for creating it.
<lang z80> org $8000
ld hl,TestArray1 ; pointer to first array
ld de,ArrayRam ; pointer to ram area
Line 3,878 ⟶ 3,877:
ds 24,0 ;24 bytes initialized to zero
org
TestArray2:
byte
; just to prove that this doesn't rely on the arrays
; being "already concatenated" I've stored them
; in the reverse order.
TestArray1:
byte
{{out}}
|