13
Table 1-4.
Logic operation Instructions
Instruction
Size*
Function
AND
B
Rd
∧
Rs
→
Rd, Rd
∧
#Imm
→
Rd
Performs a logical AND operation on a general register and another
general register or immediate data.
OR
B
Rd
∨
Rs
→
Rd, Rd
∨
#Imm
→
Rd
Performs a logical OR operation on a general register and another
general register or immediate data.
XOR
B
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
¬
Rd
→
Rd
Obtains the one's complement (logical complement) of general register
contents.
*
Size: Operand size
B: Byte
Table 1-5.
Shift Instructions
Instruction
Size*
Function
SHAL
SHAR
B
Rd shift
→
Rd
Performs an arithmetic shift operation on general register contents.
SHLL
SHLR
B
Rd shift
→
Rd
Performs a logical shift operation on general register contents.
ROTL
ROTR
B
Rd rotate
→
Rd
Rotates general register contents.
ROTXL
ROTXR
B
Rd rotate through carry
→
Rd
Rotates general register contents through the C (carry) bit.
*
Size: Operand size
B: Byte
Содержание H8/300L Series
Страница 1: ...H8 300L Series Programming Manual ...
Страница 6: ...iv ...
Страница 8: ...2 ...
Страница 11: ......
Страница 14: ......
Страница 46: ......
Страница 48: ......
Страница 60: ......
Страница 83: ......
Страница 116: ......
Страница 150: ...144 ...
Страница 151: ......
Страница 156: ...150 ...