Intel 80C188XL Instruction Set Descriptions, Table C-4.Instruction Set Continued, C-41, Name

Models: 80C186XL 80C188XL

1 405
Download 405 pages 42.62 Kb
Page 364
Image 364
Subtract With Borrow:

 

 

INSTRUCTION SET DESCRIPTIONS

 

Table C-4. Instruction Set (Continued)

 

 

 

 

 

Name

Description

Operation

Flags

Affected

 

 

 

 

 

 

 

SBB

Subtract With Borrow:

if

AF

 

SBB dest, src

(CF) = 1

CF

 

then

DF –

 

Subtracts the source from the desti-

 

(dest) = (dest) – (src) – 1

IF –

 

nation, subtracts one if CF is set, and

 

else

OF

 

returns the result to the destination

 

(dest) (dest) – (src)

PF

 

operand. Both operands may be bytes

 

 

SF

 

or words. Both operands may be

 

 

 

TF –

 

signed or unsigned binary numbers

 

 

 

ZF ¸

 

(see AAS and DAS)

 

 

 

Instruction Operands:

 

 

 

SBB reg, reg

 

 

 

SBB reg, mem

 

 

 

SBB mem, reg

 

 

 

SBB accum, immed

 

 

 

SBB reg, immed

 

 

 

SBB mem, immed

 

 

 

 

 

 

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

Page 364
Image 364
Intel 80C188XL Instruction Set Descriptions, Table C-4.Instruction Set Continued, C-41, Name, Operation, Flags, Affected