x86 Assembly Language Reference Manual

Exit Print View

Updated: December 2014
 
 

3.2.3 Decimal Arithmetic Instructions

The decimal arithmetic instructions perform decimal arithmetic on binary coded decimal (BCD) data.

Table 3-4  Decimal Arithmetic Instructions
Oracle Solaris Mnemonic
Intel/AMD Mnemonic
Description
Notes
aaa
AAA
ASCII adjust after addition
invalid under –m64
aad
AAD
ASCII adjust before division
invalid under –m64
aam
AAM
ASCII adjust after multiplication
invalid under –m64
aas
AAS
ASCII adjust after subtraction
invalid under –m64
daa
DAA
decimal adjust after addition
invalid under –m64
das
DAS
decimal adjust after subtraction
invalid under –m64