| Electronic Components Datasheet Search |
|
Z8018010VSC Datasheet(PDF) 74 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
Z8018010VSC Datasheet(HTML) 74 Page - Zilog, Inc. |
|
74 / 85 page ![]() Z80180 Microprocessor Unit 68 PS014004-1106 Architecture When a TRAP interrupt occurs, the Z80180 operates as follows: 1. The TRAP bit in the Interrupt TRAP/Control (ITC) register is set to 1. 2. The current Program Counter (PC) value, reflecting the location of the undefined opcode, is saved on the stack. 3. The Z80180 vectors to logical address 0. If logical address 0000h is mapped to physical address 00000h, the vector is the same as for RESET. In this case, testing the TRAP bit in ITC reveals whether the restart at physical address 00000h was caused by RESET or TRAP. All TRAP interrupts occur after fetching an undefined second opcode byte following one of the prefix opcodes CBh, DDh, EDh, or FDh, or after fetching an undefined third opcode byte following one of the double-prefix opcodes DDCBh or FDCBh. The state of the Undefined Fetch Object (UFO) bit in ITC allows TRAP software to correctly adjust the stacked PC, depending on whether the second or third byte of the opcode gener- ated the TRAP. If UFO = 0, the starting address of the invalid instruction is equal to the stacked PC-1. If UFO = 1, the starting address of the invalid instruction is equal to the stacked PC-2 . Figure 70. TRAP Timing—2nd Opcode Undefined TRAP Timing—2nd Op Code Undefined Note: T1 T2 T3 TTP Ti Ti Ti Ti Ti T1 T2 T3 T2 T3 T1 T1 T2 A0–A18 (A19) φ D0–D7 PC 0000h SP-1 Undefined MREQ M1 RD WR T3 SP-2 Opcode PCH PCL 2nd Opcode Fetch Cycle PC Stacking Opcode Fetch Cycle Restart from 0000h |
|
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 |