7 DETAILS OF INSTRUCTIONS
push %rs
Function
Push
Standard)
Extension 1) Unusable
Extension 2) Unusable
15
Code
0
0
0
|
|
IE
C
V
Flag
|
|
–
–
–
Mode
Register direct %rs = %r0 to %r15
CLK
Two cycles
Description
Save the data of a general-purpose register to the stack.
The push instruction first decrements the current SP by an amount equivalent to 1 word (4 bytes),
and saves the content of the rs register to that address.
Stack operation when push %rs is executed
SP
Example
push
%r3
142
sp ← sp - 4, W[sp] ← rs
12 11
8
7
|
|
0
0
0
0
0
0
0
|
|
|
|
|
Z
N
|
|
–
–
31
0
; sp ← sp - 4, W[sp] ← r3
4
3
0
|
0
1
r s
|
|
|
|
|
31
SP
EPSON
0x001_
0
rs data
S1C33 FAMILY C33 PE CORE MANUAL