HD6433308 HITACHI [Hitachi Semiconductor], HD6433308 Datasheet - Page 58

no-image

HD6433308

Manufacturer Part Number
HD6433308
Description
Hitachi Single-Chip MicroComputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433308CP
Quantity:
5 510
Part Number:
HD6433308CP
Quantity:
5 510
Part Number:
HD6433308CP97CP
Manufacturer:
HITACAI
Quantity:
20 000
Part Number:
HD6433308FL18
Manufacturer:
HITACHI
Quantity:
648
Part Number:
HD6433308L71F
Manufacturer:
RENESAS
Quantity:
176
Part Number:
HD6433308RC87FJ
Manufacturer:
HITACHI
Quantity:
13 116
Part Number:
HD6433308RL60F
Manufacturer:
TOSHIBA
Quantity:
2 160
Table 3-6. Bit-Manipulation Instructions (2)
Instruction
BIXOR
BLD
BILD
BST
BIST
* Size: operand size
Notes on Bit Manipulation Instructions: BSET, BCLR, BNOT, BST, and BIST are read-modify-
write instructions. They read a byte of data, modify one bit in the byte, then write the byte back.
Care is required when these instructions are applied to registers with write-only bits and to the I/O
port registers.
Read
Modify
Write
Example 1: BCLR is executed to clear bit 0 in the port 4 data direction register (P4DDR) under
the following conditions.
P4
P4
P4
The intended purpose of this BCLR instruction is to switch P4
7
6
5
:
:
B: Byte
– P4
0
:
Read one data byte at the specified address
Modify one bit in the data byte
Write the modified data byte back to the specified address
Input pin, Low, MOS pull-up transistor on
Input pin, High, MOS pull-up transistor off
Output pins, Low
Size*
B
B
B
Function
C
XORs the C flag with the inverse of a specified bit in a general register
or memory.
The bit number is specified by 3-bit immediate data.
(<bit-No.> of <EAd>)
Copies a specified bit in a general register or memory to the C flag.
¬ (<bit-No.> of <EAd>)
Copies the inverse of a specified bit in a general register or memory to
the C flag.
The bit number is specified by 3-bit immediate data.
C
Copies the C flag to a specified bit in a general register or memory.
¬ C
Copies the inverse of the C flag to a specified bit in a general register or
memory.
The bit number is specified by 3-bit immediate data.
¬ [(<bit-No.> of <EAd>)]
(<bit-No.> of <EAd>)
(<bit-No.> of <EAd>)
42
C
C
C
0
from output to input.

Related parts for HD6433308