
Section 2 CPU
Rev. 6.00 Sep 12, 2006 page 34 of 526
REJ09B0326-0600
2.5.3 Logic
Operations
Table 2.6 describes the four instructions that perform logic operations.
Table 2.6
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
Notes:
*
Size: Operand
size
B:
Byte
2.5.4 Shift
Operations
Table 2.7 describes the eight shift instructions.
Table 2.7
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
→
Rd
Rotates general register contents through the C (carry) bit
Notes:
*
Size: Operand
size
B:
Byte
Содержание F-ZTAT H8/3642A Series
Страница 6: ...Rev 6 00 Sep 12 2006 page iv of xx ...
Страница 8: ...Rev 6 00 Sep 12 2006 page vi of xx ...
Страница 21: ...Rev 6 00 Sep 12 2006 page xix of xx Appendix E Product Code Lineup 522 Appendix F Package Dimensions 524 ...
Страница 22: ...Rev 6 00 Sep 12 2006 page xx of xx ...
Страница 124: ...Section 5 Power Down Modes Rev 6 00 Sep 12 2006 page 102 of 526 REJ09B0326 0600 ...
Страница 188: ...Section 6 ROM Rev 6 00 Sep 12 2006 page 166 of 526 REJ09B0326 0600 ...
Страница 190: ...Section 7 RAM Rev 6 00 Sep 12 2006 page 168 of 526 REJ09B0326 0600 ...
Страница 298: ...Section 9 Timers Rev 6 00 Sep 12 2006 page 276 of 526 REJ09B0326 0600 ...
Страница 378: ...Section 12 A D Converter Rev 6 00 Sep 12 2006 page 356 of 526 REJ09B0326 0600 ...
Страница 446: ...Section 13 Electrical Characteristics Rev 6 00 Sep 12 2006 page 424 of 526 REJ09B0326 0600 ...