bcd-to-dec

xod/bits/bcd-to-dec

Converts a packed binary coded decimal byte into a byte value in range [0, 99]
bcd-to-dec
@/bcd-to-dec
Converts a packed binary coded decimal byte into a byte value in range [0, 99]
INbyte
bcd-to-dec
IN
OUT
OUTnumber

Tabular tests

INOUT
00h0.00
09h9.00
12h12.00
85h85.00
99h99.00