Motorola CPU32 Reference Manual page 48

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

AS=1
SIMPLE ARRAY
(SCALE =1)
SYNTAX: MOVE.W (A5,AS.L*SCALE),(A7)
WHERE:
A5
=
ADDRESS OF ARRAY STRUCTURE
AS
=
INDEX NUMBER OF ARRAY ITEM
A7
=
STACK POINTER
2--...-....
3
4
~O""'::"''''-'''-'';O''''';:'..........,'-I
RECORD OF 2 WORDS
(SCALE =4)
RECORD OF 1 WORD
(SCALE
=
2)
RECORD OF 4 WORDS
(SCALE
=
8)
15
NOTE: Regardless of array structure, software increments index to point to next record.
Figure 3-5. Addressing Array Items
It is useful to examine the derived addressing modes available to a programmer
(without regard to the CPU32 EA mode actually encoded) because the
programmer need not be concerned about these decisions. The assembler can
choose the more efficient addressing mode to encode.
CPU32 REFERENCE MANUAL
DATA ORGANIZATION AND
ADDRESSING
CAPABILITIES
MOTOROLA
3-17

Advertisement

Table of Contents
loading

Table of Contents