Jump to content

Arrays: Difference between revisions

m
→‎Array Alignment: added a return to the first example so we don't try to execute the array as instructions and crash!
(→‎{{header|Z80 Assembly}}: talked about alignment)
m (→‎Array Alignment: added a return to the first example so we don't try to execute the array as instructions and crash!)
Line 8,556:
LD L,13 ;this was a lot faster than doing LD HL,&0400 and adding the desired index later.
LD a,(HL) ;loads 12 into the accumulator.
RET
 
 
org &0400
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.