
7 DETAILS OF INSTRUCTIONS
142
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
push %rs
Function
Push
Standard) sp
← sp - 4, W[sp] ← rs
Extension 1) Unusable
Extension 2) Unusable
Code
15 12 11 8 7 4 3 0
0 0 0 0 0 0 0 0 0 0 0 1
r s
0x001_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
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
Example
push %r3 ; sp ← sp - 4, W[sp] ← r3
Comentarios a estos manuales