Array: Difference between revisions

Line 51:
 
<lang 68000devpac>;68000 Assembly example
LEA myArray,A0 ;loading a labeled array name like this loads the address of the zeroth element
LEA myArray,A0
MOVE.W #4*5*1,D1 ;five elements per row, so to get the 4th row we multiply the row number by the elements per row,
;times the number of bytes per element
1,489

edits