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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INSTRUCTION SET DESCRIPTIONS<br />

Table C-4. Instruction Set (Continued)<br />

Name Description Operation<br />

Flags<br />

Affected<br />

STI<br />

STOS<br />

NOTE:<br />

Set Interrupt-enable Flag:<br />

STI<br />

Sets IF to 1, enabling processor<br />

recognition of maskable interrupt<br />

requests appearing on the INTR line.<br />

Note however, that a pending interrupt<br />

will not actually be recognized until the<br />

instruction following STI has executed.<br />

Instruction Operands:<br />

none<br />

Store (Byte or Word) String:<br />

STOS dest-string<br />

Transfers a byte or word from register<br />

AL or AX to the string element<br />

addressed by DI and updates DI to<br />

point to the next location in the string.<br />

As a repeated operation.<br />

Instruction Operands:<br />

STOS dest-string<br />

STOS (repeat) dest-string<br />

(IF) ← 1 AF –<br />

CF –<br />

DF –<br />

IF ü<br />

OF –<br />

PF –<br />

SF –<br />

TF –<br />

ZF –<br />

When Source Operand is a Byte:<br />

(DEST) ← (AL)<br />

if<br />

(DF) = 0<br />

then<br />

(DI) ← (DI) + DELTA<br />

else<br />

(DI) ← (DI) – DELTA<br />

When Source Operand is a Word:<br />

(DEST) ← (AX)<br />

if<br />

(DF) = 0<br />

then<br />

(DI) ← (DI) + DELTA<br />

else<br />

(DI) ← (DI) – DELTA<br />

The three symbols used in the Flags Affected column are defined as follows:<br />

– the contents of the flag remain unchanged after the instruction is executed<br />

the contents of the flag is undefined after the instruction is executed<br />

üthe flag is updated after the instruction is executed<br />

AF –<br />

CF –<br />

DF –<br />

IF –<br />

OF –<br />

PF –<br />

SF –<br />

TF –<br />

ZF –<br />

C-44

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

Saved successfully!

Ooh no, something went wrong!