Arrays: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) (→{{header|Z80 Assembly}}: talked about alignment) |
Puppydrum64 (talk | contribs) 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: | Line 8,556: | ||
LD L,13 ;this was a lot faster than doing LD HL,&0400 and adding the desired index later. |
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. |
LD a,(HL) ;loads 12 into the accumulator. |
||
RET |
|||
org &0400 |
org &0400 |