| Electronic Components Datasheet Search |
|
DMC73C167 Datasheet(PDF) 18 Page - Daewoo Semiconductor |
|
|
|||||||||||||||||||||||||||||
DMC73C167 Datasheet(HTML) 18 Page - Daewoo Semiconductor |
|
18 / 90 page ![]() 18 8Bit Single Chip Microcontroller DMC73C167 4.4 Stack Pointer (SP) The stack pointer(SP) is an 8-bit register in the CPU which is typically used to hold a pointer in RAM (the register file). However, the SP can also be used as temporary data storage if a stack is not implemented, or if the SP contents are not needed. When a stack is implemented, the SP points to the last or top entry on the stack. The SP is automatically incremented just before data is pushed onto the stack and automatically decremented immediately after data is popped from the stack. Upon assertion of the RESET function (see Section 4.8) 01h is loaded into the SP. The size of the stack can be changed from the 255-level stack at RESET to a smaller stack by execuiting a stack initialization program as illustrated in Figure 4-3. This feature allows the stack to be located anywhere in the register file. The SP is initialized through the B register (R1). Figure 4-3. Example of Stack Initialization in the Register File 4.5 Status Register (ST) The status register(ST) is an 8-bit register in the CPU that contains three conditional status bits : carry(C), sign(N), and zero(Z). It also contains a global interrupt enable bit(I) as shown in Figure 4-4 below. Figure 4-4. Status Register (ST) Bit 7 6 5 4 3 2 1 0 Con C N Z I Future use C = carry out, N=sign, Z = zero, I = Interrupt enable 0001h 0002h 0003h 0004h 0005h 0006h 01h ST PCH PCL 04h PCH PCL 06h RF SP RF SP RF SP Interrupt Call £Ä£Á£Å£×£Ï£Ï DAEWOO ELECTRONICS CO., LTD. |
|
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 |