参数资料
型号: S3P9664-SM
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO24
封装: 0.300 INCH, SOP-24
文件页数: 24/148页
文件大小: 784K
代理商: S3P9664-SM
S3C9664/P9664 (Preliminary Spec)
ADDRESS SPACES
2-5
SYSTEM STACK
S3C9-series microcontrollers use the system stack for subroutine calls and returns and to store data. The PUSH
and POP instructions are used to control system stack operations. The S3C9664 architecture supports stack
operations in the internal register file.
STACK OPERATIONS
Return addresses for procedure calls and interrupts and data are stored on the stack. The contents of the PC are
saved to stack by a CALL instruction and restored by the RET instruction. When an interrupt occurs, the contents
of the PC and the FLAGS register are pushed to the stack. The IRET instruction then pops these values back to
their original locations. The stack address is always decremented before a push operation and incremented after
a pop operation. The stack pointer (SP) always points to the stack frame stored on the top of the stack, as shown
in Figure 2-4.
Stack contents
after a call
instruction
Stack contents
after an
interrupt
Top of
stack
Flags
PCH
PCL
PCH
Top of
stack
Low Address
High Address
Figure 2-4. Stack Operations
STACK POINTER (SP)
Register location D9H contains the 8-bit stack pointer (SP) that is used for system stack operations. After a reset,
the SP value is undetermined.
Because only internal memory space is implemented in the KS86C6504/P6504, the SP must be initialized to an
8-bit value in the range 00H–BFH.
NOTE
In case a Stack Pointer is initialized to 00H, it is decreased to FFH when stack operation starts. This
means that a Stack Pointer access invalid stack area.
相关PDF资料
PDF描述
S3P9664-AM 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDIP24
S3P9664-SK 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO20
S3C9664XX-DK 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP20
S5964 PCI BUS CONTROLLER, PBGA256
S6A0072 16 X 40 DOTS DOT MAT LCD DRVR AND DSPL CTLR, UUC90
相关代理商/技术参数
参数描述
S3P9688 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:8-bit single-chip CMOS microcontrollers
S3PDB100 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N08 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N12 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N14 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules