45
Table 2.5
Logic Operation 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 (logical complement) of general register
contents.
Note:
*
Size 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.
SHLL,
SHLR
B/W/L
Rd (shift)
→
Rd
Performs a logical shift on general register contents.
ROTL,
ROTR
B/W/L
Rd (rotate)
→
Rd
Rotates general register contents.
ROTXL,
ROTXR
B/W/L
Rd (rotate)
→
Rd
Rotates general register contents, including the carry bit.
Note:
*
Size refers to the operand size.
B : Byte
W : Word
L : Longword
Summary of Contents for H8/3060
Page 10: ......
Page 16: ......
Page 114: ...66 ...
Page 132: ...84 ...
Page 144: ...96 ...
Page 170: ...122 ...
Page 212: ...164 ...
Page 268: ...220 ...
Page 332: ...284 ...
Page 396: ...348 ...
Page 494: ...446 ...
Page 698: ...650 ...
Page 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Page 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Page 810: ...762 ...
Page 994: ...946 ...