INSTRUCTION SET DESCRIPTIONS

Table C-4. Instruction Set (Continued)

Name

Description

Operation

Flags

Affected

 

 

 

 

 

 

 

OUTS

Out String:

(dst) (src)

AF –

 

OUTS port, src_string

 

CF –

 

 

DF –

 

Performs block output from memory to

 

 

 

IF –

 

an I/O port. The port address is placed

 

 

 

OF –

 

in the DX register. The memory

 

 

 

PF –

 

address is placed in the SI register.

 

 

 

SF –

 

This instruction uses the DS segment

 

 

 

TF –

 

register, but this may be changed with

 

 

 

ZF –

 

a segment override instruction. After

 

 

 

 

 

the data transfer takes place, the

 

 

 

pointer register (SI) increments or

 

 

 

decrements, depending on the value

 

 

 

of the direction flag (DF). The pointer

 

 

 

register changes by 1 for byte

 

 

 

transfers or 2 for word transfers.

 

 

 

Instruction Operands:

 

 

 

OUTS port, src_string

 

 

 

OUTS (repeat) port, src_string

 

 

 

 

 

 

POP

Pop:

(dest) ((SP) + 1:(SP))

AF –

 

POP dest

(SP) (SP) + 2

CF –

 

 

DF –

 

Transfers the word at the current top of

 

 

 

IF –

 

stack (pointed to by SP) to the

 

 

 

OF –

 

destination operand and then

 

 

 

PF –

 

increments SP by two to point to the

 

 

 

SF –

 

new top of stack.

 

 

 

TF –

 

Instruction Operands:

 

 

 

ZF –

 

POP reg

 

 

 

POP seg-reg (CS illegal)

 

 

 

POP mem

 

 

 

 

 

 

NOTE: The three symbols used in the Flags Affected column are defined as follows:

the contents of the flag remain unchanged after the instruction is executed ¸? the contents of the flag is undefined after the instruction is executed

the flag is updated after the instruction is executed

C-33

Page 356
Image 356
Intel 80C188XL, 80C186XL user manual Out String, Outs port, srcstring, Pop