Fujitsu CM71-00101-5E User Manual

Page of 314
170
CHAPTER 7  DETAILED EXECUTION INSTRUCTIONS
7.74
ST (Store Word Data in Register to Memory)
Subtracts 4 from the value of "R15", stores the word data in dedicated register "Rs" to 
the memory address indicated by the new value of "R15".
If a non-existent dedicated register is given as "Rs", undefined data will be transferred.
ST (Store Word Data in Register to Memory)
Assembler format:
ST Rs, @ – R15
Operation:
R15 – 4 
 R15
Rs 
 (R15)
Flag change:    
N, Z, V, and C: Unchanged
Execution cycles:  
a cycle(s)
Instruction format:  
Example:
ST  MDH, @ – R15
N
Z
V
C
MSB
LSB
0
0
0
1
0
1
1
1
1
0
0
0
Rs
12345670
R15
R15
 
 
 
 
8 7 6 5
4 3 2 1
8 7 6 5
4 3 2 1
12345670
12345674
12345674
 
 
 
 
1 2 3 4
5 6 7 8
8 7 6 5
4 3 2 1
MDH
1 2 3 4
5 6 7 4
MDH
x x x x
x x x x
Memory
Memory
Before execution
After execution
Instruction bit pattern : 0001 0111 1000 0100