Program Memory Read (Indirect Address) - Analog Devices adsp-2100 Manual

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

PROGRAM MEMORY READ (Indirect Address)

Syntax:
dreg = PM (
Permissible dregs
AX0
MX0
AX1
MX1
AY0
MY0
AY1
MY1
AR
MR2
MR1
MR0
Example:
MX1 = PM (I6, M5);
Description:
The Program Memory Read Indirect instruction moves the
contents of the program memory location to the destination register. The
addressing mode is register indirect with post-modify. For linear (i.e.
non-circular) indirect addressing, the L register corresponding to the I
register used must be set to zero. The 16 most significant bits of the
Program Memory Data bus (PMD
register, with bit PMD
(right-justification). If the destination register is less than 16 bits wide, the
most significant bits are dropped. Bits PMD
PX register. You may ignore these bits or read them out on a subsequent
cycle.
Status Generated:
Instruction Format:
ALU / MAC Operation with Program Memory Read, Instruction Type 5:
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
1
0
1
0
AMF specifies the ALU or MAC operation to be performed in parallel
with the Data Memory Read. In this case, AMF = 00000, indicating a no-
operation for the ALU/MAC function.
DREG selects the destination Data Register. One of the 16 Data Registers is
selected according to the Register Selection Table (see Appendix A).
I specifies the indirect address pointer (I register). M specifies the modify
register (M register).
I4
,
I5
I6
I7
SI
SE
SR1
SR0
) are loaded into the destination
23-8
lining up with bit 0 of the destination register
8
None affected
0
AMF
M4
) ;
M5
M6
M7
are always loaded into the
7-0
0
0
0 0 0
DREG
MOVE
15
I
M
15 – 69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents