Texas Instruments MSP50C614 Stereo System User Manual


 
Individual Instruction Descriptions
4-183
Assembly Language Instructions
4.14.85 XORB Logical XOR Byte
Syntax
[label] name dest, src
Clock,
clk
Word,
w
With RPT,
clk
Class
XORB A
n
,
imm8
1 1 N/R 2a
Execution A
n
A
n
XOR
imm8
(for two operands)
PC PC + 1
Flags Affected
dest
is A
n
: OF, SF, ZF, CF are set accordingly
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XORB A
n
,
imm8
0 0 1 0 1 1 0 A
n imm8
Description Bitwise logical XOR lower 8 bits of A
n
and
dest
byte. Result is stored in
accumulator A
n
. Upper 8 bits of accumulator A
n
is not affected.
See Also XOR, XORS, AND, ANDS, OR, ORS, ORB, NOTAC, NOTACS
Example 4.14.86.1 XORB A2, 0x45
XOR 0x45 to accumulator A2 (byte mode). Upper 8 bits of A2 is unchanged.