User`s manual

.BINDEC
5-63
5
.BINDEC
Name
.BINDEC - Calculate the Binary Coded Decimal (BCD) equivalent
of the binary number speciÞed
Code
$0064
Description
.BINDEC takes a 32-bit unsigned binary number and changes it to
an equivalent BCD number.
Entry Conditions
R03: Argument: Hex number
Exit Conditions Different From Entry
R03: Bits 31 through 8: Zero
R03: Bits 7 through 0: Decimal number (two most signiÞcant DIGITS)
R04: Decimal number (next eight DIGITS)