hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 97

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
2.5.5
Table 2.8 describes the bit-manipulation instructions. Figure 2.7 shows their object code formats.
Table 2.8
Instruction
BSET
BCLR
BNOT
BTST
BAND
BIAND
BOR
BIOR
Note:
* Size: Operand size
Bit Manipulations
B:
Bit-Manipulation Instructions
Size *
B
B
B
B
B
B
B
B
Byte
Function
1
Sets a specified bit in a general register or memory to 1. The bit
number is specified by 3-bit immediate data or the lower three bits of
a general register.
0
Clears a specified bit in a general register or memory to 0. The bit
number is specified by 3-bit immediate data or the lower three bits of
a general register.
~ (<bit-No.> of <EAd>)
Inverts a specified bit in a general register or memory. The bit
number is specified by 3-bit immediate data or the lower three bits of
a general register.
~ (<bit-No.> of <EAd>)
Tests a specified bit in a general register or memory and sets or
clears the Z flag accordingly. The bit number is specified by 3-bit
immediate data or the lower three bits of a general register.
C
ANDs the C flag with a specified bit in a general register or memory,
and stores the result in the C flag.
C
ANDs the C flag with the inverse of a specified bit in a general register
or memory, and stores the result in the C flag.
The bit number is specified by 3-bit immediate data.
C
ORs the C flag with a specified bit in a general register or memory,
and stores the result in the C flag.
C
ORs the C flag with the inverse of a specified bit in a general register
or memory, and stores the result in the C flag.
The bit number is specified by 3-bit immediate data.
(<bit-No.> of <EAd>)
[~ (<bit-No.> of <EAd>)]
(<bit-No.> of <EAd>)
[~ (<bit-No.> of <EAd>)]
(<bit-No.> of <EAd>)
(<bit-No.> of <EAd>)
(<bit-No.> of <EAd>)
Z
C
C
Rev. 6.00 Aug 04, 2006 page 61 of 680
C
C
REJ09B0145-0600
Section 2 CPU

Related parts for hd64338342hw