Fujitsu CM71-00101-5E User Manual

Page of 314
171
CHAPTER 7  DETAILED EXECUTION INSTRUCTIONS
7.75
ST (Store Word Data in Program Status Register to Memory)
Subtracts 4 from the value of "R15", stores the word data in the program status (PS) to 
the memory address indicated by the new value of "R15".
ST (Store Word Data in Program Status Register to Memory)
Assembler format:
ST PS, @ – R15
Operation:
R15 – 4 
 R15
PS 
 (R15)
Flag change:    
N, Z, V, and C: Unchanged
Execution cycles:  
a cycle(s)
Instruction format:  
Example:
ST PS, @ – R15
N
Z
V
C
MSB
LSB
0
0
0
1
0
1
1
1
1
0
0
1
0
0
0
0
12
3
45670
R15
R15
 
 
 
 
F F F
8
F
8
C 0
F F F
8
F
8
C 0
12
3
45670
12
3
45674
12
3
45674
 
 
 
 
1 2
3
4
5 6 7
8
F F F
8
F
8
C 0
P
S
1 2
3
4
5 6 7 4
P
S
x x x x
x x x x
Memory
Memory
Before exec
u
tion
After exec
u
tion
In
s
tr
u
ction 
b
it p
a
ttern : 0001 0111 1001 0000