Bist (Bit Invert Store) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

BIST (Bit Invert STore)

<Operation>
¬ C → (<Bit No.> of <EAd>)
<Assembly-Language Format>
BIST #xx:3, <EAd>
<Examples>
BIST #0, R0L
BIST #6, @R3
BIST #7, @H'FFBB:8
<Operand Size>
Byte
<Description>
This instruction stores the inverse of the carry flag to a specified bit location 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 values of the unspecified bits are not changed.
<Instruction Formats>
Addressing
mode
Register direct
Register indirect
Absolute address
* Register direct, register indirect, or absolute addressing.
Bit No.
Mnem.
Operands
BIST
#xx:3, Rd
BIST
#xx:3,@Rd
BIST
#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: Previous value remains unchanged.
#xx:3
7
C
Invert
Instruction code
1st byte
2nd byte
1 IMM rd
6
7
0 rd
0
7
D
7
F
abs
52
H
N
Z
0
3rd byte
4th byte
7 1 IMM 0
6
6
7 1 IMM 0
BIST
V
C
No. of
states
2
8
8

Advertisement

Table of Contents
loading

Table of Contents