Lines Matching refs:in
7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
8 | d0, and a pointer to start in memory for bcd characters
9 | in d0. (This pointer must point to byte 4 of the first
23 | to force the first byte formed to have a 0 in the upper 4 bits.
26 | Copy the fraction in d2:d3 to d4:d5.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
32 | A4. Multiply the fraction in d4:d5 by 2 using shifts. The msb
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
39 | zero, it is the ls digit. Put the digit in its place in the
94 orl %d6,%d2 |or in msbs from d3 into d2
100 swap %d6 |put 0 in d6 lower word
101 addxw %d6,%d1 |add in extend from mul by 2
109 addxw %d6,%d1 |add in extend from add to d1
110 swap %d6 |with d6 = 0; put 0 in upper word
118 aslw #4,%d7 |first digit in upper 4 bits d7b
119 addw %d1,%d7 |add in ls digit to d7b
120 moveb %d7,(%a0)+ |store d7b byte in memory
121 swap %d7 |put LEN counter in word d7a
126 swap %d7 |put digit word in d7b
127 movew %d1,%d7 |put new digit in d7b
128 swap %d7 |put LEN counter in word d7a
131 swap %d7 |put last digit in string
133 moveb %d7,(%a0)+ |store it in memory string
135 | Clean up and return with result in fp0.