| Zakładka z wyszukiwarką danych komponentów |
|
MPD78CP14KB Arkusz danych(PDF) 336 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB Arkusz danych(HTML) 336 Page - NEC |
|
336 / 373 page ![]() CHAPTER 14 INSTRUCTION SET 318 SOFTI (Software Interrupt) <1> Operation code : 01110010 <2> Number of bytes : 1 <3> Number of states : 16 <4> Function : (SP–1) ← PSW, (SP–2) ← PC+115–8, (SP–3) ← PC+17–0, SP ← SP–3, PC ← 0060H This is the software interrupt instruction which stores the PSW contents (Z, SK, HC, L1, L0 CY) in the stack memory indicated by SP–1, then stores the high-order 8 bits of the start address of the next instruction in the stack memory addressed by SP–2, and stores the low-order 8 bits in the stack memory addressed by SP–3. The instruction then loads the 0060H into the program counter and jumps to address 0060H. <5> Flags affected : SK ← 0, L1 ← 0, L0 ← 0 <6> Example : When a SOFTI instruction is executed at address 500. SP–3 SP–2 SP–1 500 SOFTI 501 502 7 500=01F4H 0 Memory 0 Z SK HC L1 L0 0 CY <7> NOTE : The following functional difference between the µCOM-87 and 87AD series should be noted: The µCOM-87 SOFTI instruction saves the address of the SOFTI instruction itself to the stack memory, whereas the address saved to the stack memory by the 87AD series SOFTI instruction is the start address of the next instruction. Even if the skip condition is satisfied by execution of the instruction (arithmetic or logical operation, increment/decrement, skip or RETS instruction) immediately preceding the SOFTI instruction, the SOFTI is executed, not skipped (see 9.4 Maskable Interrupt Operation). |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |