Fujitsu CM71-00101-5E User Manual
241
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.124
ADDSP (Add Stack Pointer and Immediate Data)
Adds 4 times the immediate data as a signed extended value, to the value in "R15".
■
ADDSP (Add Stack Pointer and Immediate Data)
Assembler format:
ADDSP #s10
Operation:
R15 + exts (s8 × 4)
→
R15
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
ADDSP # – 4
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
1
0
0
0
1
1
s8
R15
8 0 0 0
0 0 0 0
R15
7 F F F F F F C
Instruction bit pattern :
1010 0011 1111 1111
Before execution
After execution