參數(shù)資料
型號: S3C880AXX-AQ
元件分類: 微控制器/微處理器
英文描述: MROM, 8 MHz, MICROCONTROLLER, PDIP42
封裝: 0.600 INCH, SDIP-42
文件頁數(shù): 172/242頁
文件大?。?/td> 1313K
代理商: S3C880AXX-AQ
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁當前第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁
ADDRESS SPACES
S3C880A/F880A
2-26
SYSTEM AND USER STACKS
The S3C8-series microcontrollers use the system stack for subroutine calls and returns, interrupt processing, and
data storage. The PUSH and POP instructions support system stack operations. Stack operations in the internal
register file and in external data memory are supported by hardware. (The S3C880A/F880A do not support an
external memory access.) Bit 1 in the external memory timing register EMT selects an internal or external stack
area. The 16-bit stack pointer register (SPH, SPL) is used to access an externally defined system stack. An 8-bit
stack pointer (SPL) is sufficient for internal stack addressing.
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 an 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-16.
Low Address
High Address
Stack contects
after a call
instruction
Stack contects
after an
interrupt
Top of
stack
Flags
PCH
PCL
PCH
Top of
stack
Figure 2-17. Stack Operations
User-Defined Stacks
You can freely define stacks in the internal register file as data storage locations. The instructions, PUSHUI,
PUSHUD, POPUI, and POPUD, support user-defined stack operations.
Stack Pointers (SPL, SPH)
The register locations D8H and D9H contain the 16-bit stack pointer (SP) value. The most significant byte of a
16-bit stack address is stored in the SPH register (D8H) and the least significant byte is stored in the SPL register
(D9H). Because an external memory interface is not implemented for the S3C880A/F880A microcontrollers, a
single 8-bit stack pointer (SPL) is sufficient to address stack locations in the internal register file.
After a reset, the stack pointer value is undetermined. The SPL register must then be initialized to an 8-bit value
in the range 00H–FFH, page 0.
You can use the SPH register as a general-purpose data register. Please note that when you do so, data stored
in SPH may be overwritten if an overflow or underflow of the SPL register occurs during normal stack operations.
To prevent this, you can initialize the SPL value to FFH instead of 00H.
相關PDF資料
PDF描述
S3C9644XX-AQ 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP42
S3P9648-QZ 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP44
S3C9644XX-QZ 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP44
S3CB519XX-TX 8-BIT, MROM, 10.24 MHz, RISC MICROCONTROLLER, PQFP100
S3F49FAXZA FLASH MEMORY DRIVE CONTROLLER, PQFP100
相關代理商/技術參數(shù)
參數(shù)描述
S3C8835 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:SAM87 family of 8-bit single-chip CMOS microcontrollers
S3C8837 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:SAM87 family of 8-bit single-chip CMOS microcontrollers
S3C8847 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:SAM87 family of 8-bit single-chip CMOS microcontrollers
S3C8849 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:SAM87 family of 8-bit single-chip CMOS microcontrollers
S3C89V5 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:8-BIT MICROCONTROLLER for SMART CARD