Data/Program/IO Space Immediate Addressing Modes
5.8 Data/Program/IO Space Immediate Addressing Modes
Syntax
*(0:16bit)
Instructions that use this addressing mode:
MOV
loc16,*(0:16bit)
MOV
*(0:16bit),loc16
Syntax
*(PA)
Instructions that use this addressing mode:
OUT
*(PA),loc16
UOUT
*(PA),loc16
IN
loc16,*(PA)
Syntax
0:pma
Instructions that use this addressing mode:
MAC
P,loc16,0:pma
5-28
Description
32BitDataAddr(31:16) = 0
32BitDataAddr(15:0) = 16−bit immediate value
Note:
If instruction is repeated, the address is post−incremented on each iteration. This
addressing mode can only access the low 64K of data space.
; [loc16] = [0:16bit]
; [loc16] = [0:16bit]
Description
32BitDataAddr(31:16) = 0
32BitDataAddr(15:0) = PA 16−bit immediate value
Note:
If instruction is repeated, the address is post−incremented on each iteration. The I/O
strobe signal is toggled when accessing I/O space with this addressing mode. The
data space address lines are used for accessing I/O space.
; IOspace[0:PA] =
; IOspace[0:PA] =
; [loc16] = IOspace[0:PA]
Description
22BitProgAddr(21:16) = 0
22BitProgAddr(15:0) = pma 16−bit immediate value
Note:
If instruction is repeated, the address is post−incremented on each iteration. This
addressing mode can only access the low 64K of program space.
; ACC = ACC + P << PM,
; P = [loc16] * ProgSpace[0:pma]
[loc16]
[loc16]
(unprotected)
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?