Data/Program/IO Space Immediate Addressing Modes
5-29C28x Addressing Modes
Syntax Description
*(pma) 22BitProgAddr(21:16) = 0x3F
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 upper 64K of program space.
Instructions that use this addressing mode:
XPREAD loc16,*(pma) ; [loc16] = ProgSpace[0x3F:pma]
XMAC P,loc16,*(pma) ; ACC = ACC + P << PM,
; P = [loc16] * ProgSpace[0x3F:pma]
XMACD P,loc16,*(pma) ; ACC = ACC + P << PM,
; P = [loc16] * ProgSpace[0x3F:pma],
; [loc16+1] = [loc16]