English
Language : 

HD64F3337YCP16V Datasheet, PDF (75/749 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
2.5.3 Logic Operations
Table 2.6 describes the four instructions that perform logic operations. See figure 2.6 in section
2.5.4, Shift Operations, for their object codes.
Table 2.6 Logic Operation Instructions
Instruction
AND
Size*
B
OR
B
XOR
B
NOT
B
Note: * Size: Operand size
B: Byte
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)
Obtains the one’s complement (logical complement) of general
register contents.
2.5.4 Shift Operations
Table 2.7 describes the eight shift instructions. Figure 2.6 shows the object code formats of the
arithmetic, logic, and shift instructions.
Table 2.7 Shift Instructions
Instruction
Size*
SHAL
B
SHAR
SHLL
B
SHLR
ROTL
B
ROTR
ROTXL
B
ROTXR
Note: * Size: Operand size
B: Byte
Function
Rd shift → Rd
Performs an arithmetic shift operation on general register contents.
Rd shift → Rd
Performs a logical shift operation on general register contents.
Rd rotate → Rd
Rotates general register contents.
Rd rotate through carry → Rd
Rotates general register contents through the C (carry) bit.
43