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

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

Advertisement

PROGRAM MEMORY WRITE (Indirect Address)

Syntax:
PM (
Permissible dregs
AX0
MX0
AX1
MX1
AY0
MY0
AY1
MY1
AR
MR2
MR1
MR0
Example:
PM (I6, M5) = AR;
Description:
The Program Memory Write Indirect instruction moves
the contents of the source to the program memory location specified in the
instruction word. 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
from the source register, with bit PMD
register (right justification). The 8 least significant bits of the Program
Memory Data bus (PMD
source register of length less than 16 bits is written to memory, the value
written is sign-extended to form a 16-bit value.
Status Generated:
Instruction Format:
ALU / MAC Operation with Program Memory Write, Instruction Type 5
(see Appendix A), as shown below:
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
1
AMF specifies the ALU or MAC operation to be performed in parallel
with the Program Memory Write. In this case, AMF = 00000, indicating a
no-operation for the ALU / MAC function.
DREG selects the source 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
,
M4
I5
M5
I6
M6
I7
M7
SI
SE
SR1
SR0
) are loaded from the PX register. Whenever a
7-0
None affected.
0
AMF
) = dreg ;
23-8
aligned with bit 0 of the source
8
0
0
0 0 0
DREG
MOVE
) are loaded
I
M
15
15 – 73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents