
92
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.18
OR (Or Word Data of Source Register to Destination
Register)
Takes the logical OR of the word data in "Ri" and the word data in "Rj", stores the
results to "Ri".
■
OR (Or Word Data of Source Register to Destination Register)
Assembler format:
OR Rj, Ri
Operation:
Ri or Rj
→
Ri
Flag change:
N:
Set when the MSB of the operation result is "1", cleared when the MSB is "0".
Z:
Set when the operation result is "0", cleared otherwise.
V and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
OR R2, R3
N
Z
V
C
C
C
–
–
MSB
LSB
1
0
0
1
0
0
1
0
Rj
Ri
R2
R3
1 1 1 1
0 0 0 0
1 0 1 0
1 0 1 0
N Z V C
CCR
R2
R3
CCR
0 0 0 0
N Z V C
0 0 0 0
1 1 1 1
1 0 1 0
1 1 1 1
0 0 0 0
Before execution
After execution
Instruction bit pattern : 1001 0010 0010 0011
Содержание FR Family
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR Family 32 BIT MICROCONTROLLER INSTRUCTION MANUAL ...
Страница 4: ......
Страница 8: ...iv ...
Страница 14: ...x ...
Страница 36: ...12 CHAPTER 2 MEMORY ARCHITECTURE ...
Страница 284: ...260 CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS ...
Страница 301: ...277 INDEX INDEX The index follows on the next page This is listed in alphabetical order ...
Страница 314: ......