Intel BCD opcodes
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
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
Text derived from https://en.wikipedia.org/w/index.php?oldid=1351191508 under CC BY-SA 4.0; modifications have been made.