Bor (Bit Inclusive Or) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

BOR (Bit inclusive OR)

<Operation>
C ∨ (<Bit No.> of <EAd>) → C
<Assembly-Language Format>
BOR #xx:3, <EAd>
<Examples>
BOR #5, R2H
BOR #4, @R1
BOR #5, @H'FFB6:8
<Operand Size>
Byte
<Description>
This instruction ORs a specified bit with 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.
*Register direct, register indirect, or absolute addressing.
<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: ORed with the specified bit.
#xx:3
7
Bit No.
C
57
H
N
0
C
BOR
Z
V
C

Advertisement

Table of Contents
loading

Table of Contents