h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 100

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 2 CPU
Table 2.7
Instruction Size *
BSET
BCLR
BNOT
BTST
BAND
BIAND
BOR
BIOR
Note:
Rev. 3.00 Mar 21, 2006 page 46 of 788
REJ09B0300-0300
* Size refers to the operand size.
B: Byte
Bit Manipulation Instructions (1)
B
B
B
B
B
B
B
B
Function
1
Sets a specified bit in a general register or memory operand 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 operand to 0. The
bit number is specified by 3-bit immediate data or the lower three bits of
a general register.
Inverts a specified bit in a general register or memory operand. The bit
number is specified by 3-bit immediate data or the lower three bits of a
general register.
Tests a specified bit in a general register or memory operand 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
Logically ANDs the carry flag with a specified bit in a general register or
memory operand and stores the result in the carry flag.
C
Logically ANDs the carry flag with the inverse of a specified bit in a
general register or memory operand and stores the result in the carry
flag.
The bit number is specified by 3-bit immediate data.
C
Logically ORs the carry flag with a specified bit in a general register or
memory operand and stores the result in the carry flag.
C
Logically ORs the carry flag with the inverse of a specified bit in a
general register or memory operand and stores the result in the carry
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>)
(<bit-No.> of <EAd>)
(<bit-No.> of <EAd>)
Z
C
C
C
C

Related parts for h8s-2161b