| 전자부품 데이터시트 검색엔진 |
|
UPD17062 데이터시트(PDF) 28 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 데이터시트(HTML) 28 Page - Renesas Technology Corp |
|
28 / 298 page ![]() 26 µPD17062 4. STACK The stack is a register used to save an address returned by a program or the contents of the system register, described later, when a subroutine call occurs or an interrupt is accepted. 4.1 COMPONENTS The stack consists of a stack pointer (SP), which is a 4-bit binary counter, six 13-bit address stack registers (ASRs), and two 3-bit interrupt stack registers. 4.2 STACK POINTER (SP) The stack pointer is located at address 01H in the register file, and specifies an address stack register. The contents of the stack pointer are decremented by 1 whenever a push operation (CALL, MOVT, or PUSH instruction or interrupt acceptance) is performed, or incremented by 1 whenever a pop operation (RET, RETSK, RETI, MOVT, or POP instruction) is performed. The high-order bit of the stack pointer is always set to 0. The stack pointer can indicate any of eight different values, 0H to 7H. However, 6H and 7H are not assigned to the stack. Fig. 4-1 Structure of Stack Pointer Table 4-1 Behavior of Stack Pointer 0 (SPb2) (SPb1) (SPb0) MSB LSB Instruction Stack pointer value CALL addr CALL @AR MOVT DBF, @AR SP – 1 PUSH AR Interrupt acceptance RET RETSK MOVT DBF, @AR SP + 1 POP AR RETI |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |