Lines Matching +full:64 +full:- +full:byte
5 | Description: Converts a 64-bit binary integer to bcd.
7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
9 | in d0. (This pointer must point to byte 4 of the first
12 | Output: LEN bcd digits representing the 64-bit integer.
15 | The 64-bit binary is assumed to have a decimal point before
21 | A1. Init d7 to 1. D7 is the byte digit counter, and if 1, the
23 | to force the first byte formed to have a 0 in the upper 4 bits.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
38 | A6. Test d7. If zero, the digit formed is the ms digit. If non-
51 | d2: upper 32-bits of fraction for mul by 8
52 | d3: lower 32-bits of fraction for mul by 8
53 | d4: upper 32-bits of fraction for mul by 2
54 | d5: lower 32-bits of fraction for mul by 2
55 | d6: temp for bit-field extracts
56 | d7: byte digit formation word;digit count {0,1}
74 moveml %d0-%d7,-(%a7)
114 beqs first_d |if non-zero, form byte & write
119 moveb %d7,(%a0)+ |store d7b byte in memory
137 moveml (%a7)+,%d0-%d7