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

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 352
Image 352
MOV dest, src

INSTRUCTION SET DESCRIPTIONS

Table C-4. Instruction Set (Continued)

Name

Description

Operation

Flags

Affected

 

 

 

 

 

 

 

LOOPNE

Loop While Not Equal:

(CX) (CX) – 1

AF –

LOOPNZ

Loop While Not Zero:

if

CF –

 

LOOPNE disp8

(ZF) = 0 and (CX) 0

DF –

 

then

IF –

 

LOOPNZ disp8

 

(IP) (IP) + disp8 (sign-ext to 16 bits)

OF –

 

Decrements CX by 1 and transfers

 

 

PF –

 

control to the target location if CX is

 

 

 

SF –

 

not 0 and if ZF is clear; otherwise the

 

 

 

TF –

 

next sequential instruction is executed.

 

 

 

ZF –

 

Instruction Operands:

 

 

 

 

 

LOOPNE short-label

 

 

 

LOOPNZ short-label

 

 

 

 

 

 

MOV

Move (Byte or Word):

(dest)(src)

AF –

 

MOV dest, src

 

CF –

 

 

DF –

 

Transfers a byte or a word from the

 

 

 

IF –

 

source operand to the destination

 

 

 

OF –

 

operand.

 

 

 

PF –

 

Instruction Operands:

 

 

 

SF –

 

MOV mem, accum

 

TF –

 

MOV accum, mem

 

ZF –

 

MOV reg, reg

 

 

 

MOV reg, mem

 

 

 

MOV mem, reg

 

 

 

MOV reg, immed

 

 

 

MOV mem, immed

 

 

 

MOV seg-reg, reg16

 

 

 

MOV seg-reg, mem16

 

 

 

MOV reg16, seg-reg

 

 

 

MOV mem16, seg-reg

 

 

 

 

 

 

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-29

Page 352
Image 352
Intel 80C188XL, 80C186XL user manual Instruction Set Descriptions, Table C-4.Instruction Set Continued, C-29, MOV dest, src