| 전자부품 데이터시트 검색엔진 |
|
TMS320F 데이터시트(PDF) 69 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TMS320F 데이터시트(HTML) 69 Page - Texas Instruments |
|
69 / 389 page ![]() Program-Address Generation 5-5 Program Control plete, a return instruction transfers the return address from the top of the stack to the program counter. When the eight levels are not used for return addresses, the stack may be used for saving context data during a subroutine or interrupt service routine or for other storage purposes. You can access the stack with two sets of instructions: - PUSH and POP. The PUSH instruction copies the 16 LSBs of the accumu- lator to the top of the stack. The POP instruction copies the value on the top of the stack to the 16 LSBs of the accumulator. - PSHD and POPD. These instructions allow you to build a stack in data memory for the nesting of subroutines or interrupts beyond eight levels. The PSHD instruction pushes a data-memory value onto the top of the stack. The POPD instruction pops a value from the top of the stack to data memory. Whenever a value is pushed onto the top of the stack (by an instruction or by the address-generation logic), the content of each level is pushed down one level, and the bottom (eighth) location of the stack is lost. Therefore, data is lost (stack overflow occurs) if more than eight successive pushes occur before a pop. Figure 5–2 shows a push operation. Figure 5–2. A Push Operation Before Instruction After Instruction Accumulator Accumulator or memory 7h or memory 7h location location 2h 7h 5h 2h Stack 3h Stack 5h 0h 3h 12h 0h 86h 12h 54h 86h 3Fh 54h |
|
링크 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 |