Epson S1C33 Series Core Manual page 46

Cmos 32-bit single chip microcomputer
Hide thumbs Also See for S1C33 Series:
Table of Contents

Advertisement

5 INSTRUCTION SET
Data is popped off the stack into the registers before the stack pointer is updated.
Example 2: pushs
%ahr
pops
%ahr
Example 3: push
%rs
pop
%rd
38
Before execution of popn
31
0
r15
r14
r13
r12
:
:
r1
SP
r0
low address
[SP] → rd, SP = SP + 4
Figure 5.13.2 Successive Pop of General-Purpose Registers
Push special registers onto the stack successively
Pop special registers off the stack successively
Before execution of pushs
SP
31
0
low address
Figure 5.13.3 Successive Push of Special Registers
Before execution of pops
31
0
ahr
SP
alr
low address
Figure 5.13.4 Successive Pop of Special Registers
Push any general-purpose register onto the stack
Pop any general-purpose register off the stack
Before execution of push
SP
31
0
low address
Figure 5.13.5 Single Push of a General-Purpose Register
Before execution of pop
31
0
SP
rd
low address
Figure 5.13.6 Single Pop of a General-Purpose Register
After execution of popn
SP
31
r15
r14
r13
r12
:
:
r1
r0
low address
After execution of pushs
31
ahr
SP
alr
low address
After execution of pops
SP
31
ahr
alr
low address
After execution of push
31
SP
rs
low address
After execution of pop
SP
31
rd
low address
EPSON
0
0
0
0
0
S1C33 FAMILY C33 PE CORE MANUAL

Advertisement

Table of Contents
loading

Table of Contents