SUB

SUBTRACTSUB

Operation:

Flags Affected:

(DEST) +- (LSRC) - (RSRC)

AF, CF, OF, PF, SF, ZF

Description:

SUB destination,source

The source operand is subtracted from the destination operand, and the result replaces the destination operand. The operands may be bytes or words. Both operands may be signed or unsigned binary numbers (see AAS and DAS). SUB updates AF, CF, OF, PF, SF and ZF.

2-156

Page 191
Image 191
Intel 210200-002 manual Subtractsub, SUB destination,source