| Electronic Components Datasheet Search |
|
Z8018010VSC Datasheet(PDF) 73 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
Z8018010VSC Datasheet(HTML) 73 Page - Zilog, Inc. |
|
73 / 85 page ![]() Z80180 Microprocessor Unit 67 PS014004-1106 Architecture Int/TRAP Control Register Mnemonics ITC Address 34 INT/TRAP Control Register (ITC, I/O Address 34h) This register is used in handling TRAP interrupts and to enable or disable Maskable Interrupt Level 0 and the INT1 and INT2 pins. Figure 69. Int/TRAP Control Register TRAP (bit 7)—This bit is set to 1 when an undefined opcode is fetched. TRAP can be reset under program control by writing it with a 0, however, it cannot be written with 1 under pro- gram control. TRAP is reset to 0 during RESET. UFO: Undefined Fetch Object (bit 6)—When a TRAP interrupt occurs, the contents of a UFO allow the starting address of the undefined instruction to be determined. However, the TRAP may occur on either the second or third byte of the opcode. A UFO allows the stacked Program Counter (PC) value to be correctly adjusted. If UFO = 0, the first opcode must be interpreted as the stacked PC-1. If UFO = 1, the first opcode address is stacked PC-2. UFO is READ-ONLY . ITE2, 1, 0: Interrupt Enable 2, 1, 0 (bits 2-0)—ITE2 and ITE1 enable and disable the external interrupt inputs INT2 and INT1, respectively. ITE0 enables and disables interrupts from the on-chip ESCC, CTCs and bidirectional Centronics controller as well as the external interrupt input INT0. A 1 in a bit enables the corresponding interrupt level while a 0 disables it. A RESET clears ITE0 to 1 and clears ITE1 and ITE2 to 0. TRAP Interrupt The Z80180 generates a nonmaskable (not affected by the state of IEF1) TRAP interrupt when an undefined opcode fetch occurs. This feature can be used to increase software reli- ability, implement an extended instruction set, or both. TRAP may occur during opcode fetch cycles and also if an undefined opcode is fetched during the interrupt acknowledge cycle for INT0 when Mode 0 is used. Bit TRAP UFO R/W R/W R/W –– 76 5 4 3 2 1 0 –– –– ITE2 ITE1 ITE0 R/W R |
|
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 |