|
HD64F2149 Datasheet, PDF (87/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer | |||
|
◁ |
Type
Logic
operations
Instruction
AND
OR
XOR
NOT
Shift
operations
SHAL
SHAR
SHLL
SHLR
ROTL
ROTR
ROTXL
ROTXR
Bit-
manipulation
instructions
BSET
BCLR
BNOT
BTST
Size*1
B/W/L
B/W/L
B/W/L
B/W/L
B/W/L
B/W/L
B/W/L
B/W/L
B
B
B
B
Function
Rd ⧠Rs â Rd, Rd ⧠#IMM â Rd
Performs a logical AND operation on a general register
and another general register or immediate data.
Rd ⨠Rs â Rd, Rd ⨠#IMM â Rd
Performs a logical OR operation on a general register
and another general register or immediate data.
Rd â Rs â Rd, Rd â #IMM â Rd
Performs a logical exclusive OR operation on a general
register and another general register or immediate data.
¬ (Rd) â (Rd)
Takes the one's complement (logical complement) of
general register contents.
Rd (shift) â Rd
Performs an arithmetic shift on general register contents.
A 1-bit or 2-bit shift is possible.
Rd (shift) â Rd
Performs a logical shift on general register contents.
A 1-bit or 2-bit shift is possible.
Rd (rotate) â Rd
Rotates general register contents.
1-bit or 2-bit rotation is possible.
Rd (rotate) â Rd
Rotates general register contents through the carry flag.
1-bit or 2-bit rotation is possible.
1 â (<bit-No.> of <EAd>)
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 â (<bit-No.> of <EAd>)
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.
¬ (<bit-No.> of <EAd>) â (<bit-No.> of <EAd>)
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.
¬ (<bit-No.> of <EAd>) â Z
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.
53
|
▷ |