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
Содержание H8/3060
Страница 10: ......
Страница 16: ......
Страница 114: ...66 ...
Страница 132: ...84 ...
Страница 144: ...96 ...
Страница 170: ...122 ...
Страница 212: ...164 ...
Страница 268: ...220 ...
Страница 332: ...284 ...
Страница 396: ...348 ...
Страница 494: ...446 ...
Страница 698: ...650 ...
Страница 729: ...681 H8 3062F ZTAT or H8 3062F ZTAT R mask version Ports 1 2 5 LED 600 Ω Figure 22 5 Sample LED Circuit ...
Страница 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Страница 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Страница 810: ...762 ...
Страница 994: ...946 ...