| 전자부품 데이터시트 검색엔진 |
|
UPD17062 데이터시트(PDF) 121 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 데이터시트(HTML) 121 Page - Renesas Technology Corp |
|
121 / 298 page ![]() 119 µPD17062 Example Saving the status in an interrupt processing routine EI M046 M047 M048 M04D M04E M05F BTM0CK MEM MEM MEM MEM MEM MEM MEM 0.46H 0.47H 0.48H 0.4DH 0.4EH 0.5FH 0.89H # POKE $ PEEK % POKE & MOV ( ST ) ST M048, WR, M04E, RPL, M046, M047, WR RPL WR #0EH AR1 AR0 . . . * PEEK + ST WR, M05F, BTM0CK WR BANK0 MOV LD LD RPL, AR1, AR0, #0EH M046 M047 . . . LD POKE WR, BTM0CK, M05F WR . . . PEEK POKE PEEK WR, RPL, WR, M04E WR M048 RETI EI Main routine Program example Interrupt processing routine (enters a DI state) BANK and IXE saving by hardware Saving contents of required system register using software ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; Restoration of contents of saved system registers Interrupt reception Interrupt processing Saves the contents of the window register in M048. Saves the contents of the general-purpose register pointer in M04E. Sets row address 7 of bank 0 in the general-purpose register Saves the contents of required system registers. Saves the contents of the required control register. Restores the contents of the saved control register. Restores the contents of the general register-purpose pointer. Restores the contents of the saved window register. The EI instruction permits an interrupt (INTE setting) after the next RETI instruction is executed. Restoration by the BANK or IXE hardware ; ; ; ; Makes bank 0 available. Sets row address 7 of bank 0 in the general-purpose register. Restores the contents of the saved system registers. . . . |
|
링크 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 |