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
64 | file, README, in this same directory.
93 orl %d6,%d2 |or in msbs from d3 into d2
99 swap %d6 |put 0 in d6 lower word
100 addxw %d6,%d1 |add in extend from mul by 2
108 addxw %d6,%d1 |add in extend from add to d1
109 swap %d6 |with d6 = 0; put 0 in upper word
117 aslw #4,%d7 |first digit in upper 4 bits d7b
118 addw %d1,%d7 |add in ls digit to d7b
119 moveb %d7,(%a0)+ |store d7b byte in memory
120 swap %d7 |put LEN counter in word d7a
125 swap %d7 |put digit word in d7b
126 movew %d1,%d7 |put new digit in d7b
127 swap %d7 |put LEN counter in word d7a
130 swap %d7 |put last digit in string
132 moveb %d7,(%a0)+ |store it in memory string
134 | Clean up and return with result in fp0.