03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INTERRUPT CONTROL UNIT<br />

Table 8-2. OCW2 Instruction Field Decoding (Continued)<br />

R SL EOI Command<br />

1 0 1 Rotate on Non-Specific EOI Command<br />

1 1 0 Set Priority (Specific Rotation) *<br />

1 1 1 Rotate on Specific EOI Command *<br />

* These commands use the L2:0 field<br />

The Rotate in Automatic EOI Mode commands control priority rotation when the 8259A module<br />

is programmed (in ICW4) for Automatic EOI Mode. When Rotate in Automatic EOI Mode is set,<br />

priority rotates automatically at the end of the interrupt acknowledge cycle. Automatic priority<br />

rotation in Automatic EOI Mode is canceled by issuing the clear command (R=0, SL=0, EOI=0).<br />

The Non-Specific EOI Command resets the highest-priority In-Service bit. The Rotate on Non-<br />

Specific EOI Command resets the highest-priority In-Service bit and assigns the corresponding<br />

IR line the lowest priority.<br />

The Specific EOI Command resets the In-Service bit for the IR line specified in the L2:0 field of<br />

OCW2. The Rotate on Specific EOI Command resets the In-Service bit for the IR line specified<br />

in the L2:0 field of OCW2 and assigns that line the lowest priority.<br />

The Set Priority Command (Specific Rotation) assigns the lowest priority to the IR line specified<br />

in L2:0 of OCW2.<br />

Bits D4 and D3 are part of the address for the OCW2 register. D4 and D3 must always be programmed<br />

to zero. The L2:0 bits are “don’t care” when they are not used by an OCW2 instruction.<br />

8-33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!