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.

INSTRUCTION SET DESCRIPTIONS<br />

Table C-3. Flag Bit Functions<br />

Name<br />

AF<br />

CF<br />

DF<br />

IF<br />

OF<br />

PF<br />

SF<br />

TF<br />

ZF<br />

Function<br />

Auxiliary Flag:<br />

Set on carry from or borrow to the low order four bits of AL; cleared otherwise.<br />

Carry Flag:<br />

Set on high-order bit carry or borrow; cleared otherwise.<br />

Direction Flag:<br />

Causes string instructions to auto decrement the appropriate index register<br />

when set. Clearing DF causes auto increment.<br />

Interrupt-enable Flag:<br />

When set, maskable interrupts will cause the CPU to transfer control to an<br />

interrupt vector specified location.<br />

Overflow Flag:<br />

Set if the signed result cannot be expressed within the number of bits in the<br />

destination operand; cleared otherwise.<br />

Parity Flag:<br />

Set if low-order 8 bits of result contain an even number of 1 bits; cleared<br />

otherwise.<br />

Sign Flag:<br />

Set equal to high-order bit of result (0 if positive, 1 if negative).<br />

Single Step Flag:<br />

Once set, a single step interrupt occurs after the next instruction executes. TF<br />

is cleared by the single step interrupt.<br />

Zero Flag:<br />

Set if result is zero; cleared otherwise.<br />

C-3

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

Saved successfully!

Ooh no, something went wrong!