Commands - Bcd

:

| Instruction | Description | Operands | |-------------|-------------|----------| | | Decimal Adjust AL after Addition (packed BCD) | implicit (AL) | | DAS | Decimal Adjust AL after Subtraction (packed BCD) | implicit (AL) | | AAA | ASCII Adjust after Addition (unpacked BCD) | implicit (AL, AH) | | AAS | ASCII Adjust after Subtraction (unpacked BCD) | implicit (AL, AH) | | AAM | ASCII Adjust after Multiply (unpacked) | implicit (AX) | | AAD | ASCII Adjust before Division (unpacked) | implicit (AX) |

BCDEdit is the standard tool for editing the boot menu. To use it, you must run the . BCDEdit Command-Line Options - Microsoft Learn

sed ; enable decimal mode lda #$45 ; BCD 45 adc #$27 ; result in A = $72 (BCD 72) cld ; back to binary

binary = (high_digit * 10) + low_digit

  • Math Skills For Kids - 100% Free Resources For Math Practice - Math Worksheets, Games And Printable