Chapter 3
Functions
BXOR
[ Syntax ]
BXOR src
[ Operation ]
A
C
src
C
[ Function ]
• This instruction exclusive ORs the C flag and
[ Selectable src ]
bit,R0
bit,R1
bit,A0
bit,A1
base:8[A0]
base:8[A1]
base:16[A0]
base:16[A1]
C
bit,base:11[SB]
[ Flag Change ]
Flag
U
I
O
Change
Conditions
C :
The flag is set when the operation results in 1; otherwise cleared.
[ Description Example ]
BXOR
flag
BXOR
4,Ram
BXOR
16,Ram:16[SB]
BXOR
[A0]
[ Related Instructions ]
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
Exclusive OR bits
Bit eXclusive OR carry flag
src
bit,R2
bit,R3
[A0]
[A1]
bit,base:8[SB] bit,base:8[FB]
bit,base:16[SB] bit,base:16
B
S
Z
D
C
BAND, BOR, BNAND, BNOR, BNXOR
page 61 of 263
[ Instruction Code/Number of Cycles ]
src
and stores the result in the C flag.
3.2 Functions
BXOR
Page: 160