
Z80 Instruction Set UM008007-0715
184
Z80 CPU
User Manual
IM 2
Operation
Set Interrupt Mode 2
Op Code
IM
Operand
2
Description
The IM 2 instruction sets the vectored Interrupt Mode 2. This mode allows an indirect call
to any memory location by an 8-bit vector supplied from the peripheral device. This vector
then becomes the least-significant eight bits of the indirect pointer, while the I Register in
the CPU provides the most-significant eight bits. This address points to an address in a
vector table that is the starting address for the interrupt service routine.
Condition Bits Affected
None.
M Cycles T States 4 MHz E.T.
2 8 (4, 4) 2.00
Kommentare zu diesen Handbüchern