Bixor (Bit Invert Exclusive Or) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

BIXOR (Bit Invert eXclusive OR)

<Operation>
C ⊕ [¬ (<Bit No.> of <EAd>)] → C
<Assembly-Language Format>
BIXOR #xx:3, <EAd>
<Examples>
BIXOR #1, R4L
BIXOR #2, @R5
BIXOR #3, @H'FF60:8
<Operand Size>
Byte
<Description>
This instruction exclusive-ORs the inverse of a specified bitwith the carry flag and places the
result in the carry flag. The specified bit can be located in a general register or memory. The
bit number is specified by 3-bit immediate data. The operation is shown schematically below.
<EAd>*
Byte data in register or memory
The value of the specified bit is not changed.
<Instruction Formats>
Addressing
mode
Register direct
Register indirect
Absolute address
* Register direct, register indirect, or absolute addressing.
Mnem.
Operands
BIXOR #xx:3, Rd
BIXOR #xx:3,@Rd
BIXOR #xx:3,@aa:8
<Condition Code>
I
— — — — — — —
I:
Previous value remains unchanged.
H: Previous value remains unchanged.
N: Previous value remains unchanged.
Z: Previous value remains unchanged.
V: Previous value remains unchanged.
C: Exclusive-ORed with the inverse of the
specified bit.
#xx:3
7
Bit No.
C
Instruction code
1st byte
2nd byte
1 IMM rd
7
5
0 rd
7
C
7
E
abs
53
H
N
0
Invert
C
3rd byte
4th byte
0
5 1 IMM 0
7
7
5 1 IMM 0
BIXOR
Z
V
C
No. of
states
2
6
6

Advertisement

Table of Contents
loading

Table of Contents