| Electronic Components Datasheet Search |
|
UPD780208 Datasheet(PDF) 64 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD780208 Datasheet(HTML) 64 Page - NEC |
|
64 / 472 page ![]() 64 Chapter 3 CPU Architecture User’s Manual U16504EE1V1UD00 (3) Stack pointer (SP) This is a 16-bit register to hold the start address of the memory stack area. Only the internal high- speed RAM area can be set as the stack area. Figure 3-11: Stack Pointer Configuration The SP is decremented ahead of write (save) to the stack memory and is incremented after read (reset) from the stack memory. Each stack operation saves/resets data as shown in Figures 3-12 and 3-13. Caution: Since RESET input makes SP contents indeterminate, be sure to initialize the SP before instruction execution. Figure 3-12: Data to be Saved to Stack Memory Figure 3-13: Data to be Reset to Stack Memory SP 15 0 Interrupt and BRK Instruction PSW PC15 to PC8 PC15 to PC8 PC7 to PC0 Register Pair Lower SP SP _ 2 SP _ 2 Register Pair Upper CALL, CALLF, and CALLT Instruction PUSH rp Instruction SP _ 1 SP SP SP _ 2 SP _ 2 SP _ 1 SP PC7 to PC0 SP _ 3 SP _ 2 SP _ 1 SP SP SP _ 3 RETI and RETB Instruction PSW PC15 to PC8 PC15 to PC8 PC7 to PC0 Register Pair Lower SP SP + 2 SP Register Pair Upper RET Instruction POP rp Instruction SP + 1 PC7 to PC0 SP SP + 2 SP SP + 1 SP + 2 SP SP + 1 SP SP + 3 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |