---
title: Intel BCD opcodes
slug: intel-bcd-opcodes
qid: 
snapshot: enwiki-001351191508
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1351191508
tags: [22905880, 23603337, 24745122, 25557078, 26220375, 89061623]
---

# Intel BCD opcodes

> [!note] Provenance
> Snapshot `enwiki-001351191508` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1351191508> · Licensed CC BY-SA 4.0

The Intel BCD opcodes are a set of six x86 instructions that operate with binary-coded decimal numbers: AAA , DAA , AAS , DAS , AAM , and AAD . Most arithmetic operations on x86 processors use a binary numeral system, but these instructions allow basic arithmetic using a decimal numeral system. In addition, the x87 part supports a unique 18-digit (ten-byte) BCD format that can be loaded into and stored from the floating point registers, from where ordinary FP computations can be performed. The integer BCD instructions are no longer supported in long mode.

The Intel BCD opcodes are a set of six x86 instructions that operate with binary-coded decimal numbers: AAA , DAA , AAS , DAS , AAM , and AAD . Most arithmetic operations on x86 processors use a binary numeral system, but these instructions allow basic arithmetic using a decimal numeral system. In addition, the x87 part supports a unique 18-digit (ten-byte) BCD format that can be loaded into and stored from the floating point registers, from where ordinary FP computations can be performed. The integer BCD instructions are no longer supported in long mode. ==See also== x86 Bit manipulation instruction set ==References==
