Intel 80C186XL, 80C188XL Instruction Set Descriptions, Table C-4.Instruction Set Continued, C-34

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 357
Image 357
C-34

INSTRUCTION SET DESCRIPTIONS

Table C-4. Instruction Set (Continued)

Name

Description

Operation

Flags

Affected

 

 

 

 

 

 

 

POPA

Pop All:

(DI) ((SP) + 1:(SP))

AF –

 

POPA

(SP) (SP) + 2

CF –

 

(SI) ((SP) + 1:(SP))

DF –

 

Pops all data, pointer, and index

 

(SP) (SP) + 2

IF –

 

registers off of the stack. The SP value

 

(BP) ((SP) + 1:(SP))

OF –

 

popped is discarded.

 

(SP) (SP) + 2

PF –

 

Instruction Operands:

 

(BX) ((SP) + 1:(SP))

SF –

 

none

(SP) (SP) + 2

TF –

 

 

(DX) ((SP) + 1:(SP))

ZF –

 

 

(SP) (SP) + 2

 

 

 

(CX) ((SP) + 1:(SP))

 

 

 

(SP) (SP) + 2

 

 

 

(AX) ((SP) + 1:(SP))

 

 

 

(SP) (SP) + 2

 

 

 

 

 

POPF

Pop Flags:

Flags ((SP) + 1:(SP))

AF

 

POPF

(SP) (SP) + 2

CF

 

 

DF

 

Transfers specific bits from the word at

 

 

 

IF

 

the current top of stack (pointed to by

 

 

 

OF

 

register SP) into the 8086/8088 flags,

 

 

 

PF

 

replacing whatever values the flags

 

 

 

SF

 

previously contained. SP is then

 

 

 

TF

 

incremented by two to point to the new

 

 

 

ZF ¸

 

top of stack.

 

 

 

Instruction Operands:

 

 

 

none

 

 

 

 

 

 

PUSH

Push:

(SP) (SP) – 2

AF –

 

PUSH src

((SP) + 1:(SP)) (src)

CF –

 

 

DF –

 

Decrements SP by two and then

 

 

 

IF –

 

transfers a word from the source

 

 

 

OF –

 

operand to the top of stack now

 

 

 

PF –

 

pointed to by SP.

 

 

 

SF –

 

Instruction Operands:

 

 

 

TF –

 

PUSH reg

 

ZF –

 

PUSH seg-reg (CS legal)

 

 

 

PUSH 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-34

Page 357
Image 357
Intel 80C186XL, 80C188XL user manual Instruction Set Descriptions, Table C-4.Instruction Set Continued, C-34