Texas Instruments TMS320C2XX Calculator User Manual


 
Exclusive OR With Accumulator
XOR
7-193
Assembly Language Instructions
Syntax XOR
dma
Direct addressing
XOR
ind
[, AR
n
] Indirect addressing
XOR #
lk
, [,
shift
] Long immediate addressing
XOR #
lk,
16 Long immediate with left
shift of 16
Operands dma: 7 LSBs of the data-memory address
shift: Left shift value from 0 to 15 (defaults to 0)
n: Value from 0 to 7 designating the next auxiliary register
lk: 16-bit long immediate value
ind: Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
XOR
dma
1514131211109876543210
0
11011000 dma
XOR
ind
[, AR
n
]
1514131211109876543210
0
11011001 ARU N NAR
Note: ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode
(page 6-9).
XOR #
lk
[,
shift
]
1514131211109876543210
1
01111111101 shift
lk
XOR #
lk,
16
1514131211109876543210
1
011111010000011
lk
Execution Increment PC, then ...
Event(s) Addressing mode
(ACC(15:0)) XOR (data-memory address) ACC(15:0) Direct or indirect
(ACC(31:16)) ACC(31:16)
(ACC(31:0)) XOR lk 2
shift
ACC(31:0) Long immediate
(ACC(31:0)) XOR lk 2
16
ACC(31:0) Long immediate
with left shift of 16
Opcode