|
HD6417750RF240V Datasheet, PDF (71/606 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series | |||
|
◁ |
Section 2 CPU
Table 2.5 Logic Operations Instructions
Instruction Size* Function
AND
B/W/L
Rd ⧠Rs â Rd, Rd ⧠#IMM â Rd
Performs a logical AND operation on a general register and another
general register or immediate data.
OR
B/W/L Rd ⨠Rs â Rd, Rd ⨠#IMM â Rd
Performs a logical OR operation on a general register and another
general register or immediate data.
XOR
B/W/L
Rd â Rs â Rd, Rd â #IMM â Rd
Performs a logical exclusive OR operation on a general register and
another general register or immediate data.
NOT
B/W/L ¬ Rd â Rd
Takes the one's complement of general register contents.
Note: * Refers to the operand size.
B: Byte
W: Word
L: Longword
Table 2.6 Shift Instructions
Instruction Size* Function
SHAL
SHAR
B/W/L
Rd (shift) â Rd
Performs an arithmetic shift on general register contents.
1-bit or 2-bit shifts are possible.
SHLL
SHLR
B/W/L
Rd (shift) â Rd
Performs a logical shift on general register contents.
1-bit or 2-bit shifts are possible.
ROTL
ROTR
B/W/L
Rd (rotate) â Rd
Rotates general register contents.
1-bit or 2-bit rotations are possible.
ROTXL
ROTXR
B/W/L
Rd (rotate) â Rd
Rotates general register contents through the carry flag.
1-bit or 2-bit rotations are possible.
Note: * Refers to the operand size.
B: Byte
W: Word
L: Longword
Rev. 7.00 Sep. 11, 2009 Page 35 of 566
REJ09B0211-0700
|
▷ |