HD6433935 Hitachi, HD6433935 Datasheet - Page 45

no-image

HD6433935

Manufacturer Part Number
HD6433935
Description
8-Bit MICROCONTROLLER
Manufacturer
Hitachi
Datasheet
Notes: * Size: Operand size
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
Bit Manipulations
B:
Bit-Manipulation Instructions
Byte
Size*
B
B
B
B
B
B
B
B
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.
Function
(<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
C
C
33

Related parts for HD6433935