
81
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.10
SUBN (Subtract Word Data in Source Register from
Destination Register)
Subtracts the word data in "Rj" from the word data in "Ri", stores results to "Ri" without
changing the flag settings.
■
SUBN (Subtract Word Data in Source Register from Destination Register)
Assembler format:
SUBN Rj, Ri
Operation:
Ri – Rj
→
Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
SUBN R2, R3
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
1
0
1
1
1
0
Rj
Ri
R2
R3
1 2 3 4
5 6 7 8
9 9 9 9
9 9 9 9
N Z V C
CCR
R2
R3
CCR
0 0 0 0
N Z V C
0 0 0 0
8 7 6 5
4 3 2 1
1 2 3 4
5 6 7 8
Before execution
After execution
Instruction bit pattern : 1010 1110 0010 0011
Summary of Contents for FR Family
Page 2: ......
Page 3: ...FUJITSU LIMITED FR Family 32 BIT MICROCONTROLLER INSTRUCTION MANUAL ...
Page 4: ......
Page 8: ...iv ...
Page 14: ...x ...
Page 36: ...12 CHAPTER 2 MEMORY ARCHITECTURE ...
Page 284: ...260 CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS ...
Page 301: ...277 INDEX INDEX The index follows on the next page This is listed in alphabetical order ...
Page 314: ......