Im 2 – Zilog Z08470 User Manual

Page 196

Advertising
background image

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

1

1

0

0

1

1

1

1

ED

0

1

1

1

0

1

0

1

5E

Advertising
This manual is related to the following products: