Lines Matching full:digit
18 | msb form a decimal digit. This process is iterated until
21 | A1. Init d7 to 1. D7 is the byte digit counter, and if 1, the
22 | digit formed will be assumed the least significant. This is
36 | into d2:d3. D1 will contain the bcd digit formed.
38 | A6. Test d7. If zero, the digit formed is the ms digit. If non-
39 | zero, it is the ls digit. Put the digit in its place in the
40 | upper word of d0. If it is the ls digit, write the word
50 | d1: temp used to form the digit
56 | d7: byte digit formation word;digit count {0,1}
78 moveql #1,%d7 |init d7 for second digit
102 | A5. Add mul by 8 to mul by 2. D1 contains the digit formed.
113 tstw %d7 |if zero, store digit & to loop
116 swap %d7 |bring first digit to word d7b
117 aslw #4,%d7 |first digit in upper 4 bits d7b
118 addw %d1,%d7 |add in ls digit to d7b
125 swap %d7 |put digit word in d7b
126 movew %d1,%d7 |put new digit in d7b
128 addqw #1,%d7 |set d7a to signal first digit done
130 swap %d7 |put last digit in string