base:int16_and_uint16_conversion_to_string
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
base:int16_and_uint16_conversion_to_string [2019-08-16 17:25] – verz | base:int16_and_uint16_conversion_to_string [2019-08-16 17:42] – verz | ||
---|---|---|---|
Line 60: | Line 60: | ||
_UtoA | _UtoA | ||
- | jsr BINBCD16_2 | + | jsr BINBCD16 |
;lda bcd+2 | ;lda bcd+2 | ||
and #$0f | and #$0f | ||
Line 140: | Line 140: | ||
CBIT1 ASL int16 ; Shift out one bit 5 | CBIT1 ASL int16 ; Shift out one bit 5 | ||
ROL int16+1 | ROL int16+1 | ||
- | ; LDA bcd+0 ; And add into result | + | ; LDA bcd+0 ; |
- | ADC bcd+0 ; | + | ADC bcd+0 ; |
STA bcd+0 ; | STA bcd+0 ; | ||
- | ASL int16 ; | + | ASL int16 ; |
ROL int16+1 | ROL int16+1 | ||
ADC bcd+0 ; | ADC bcd+0 ; | ||
STA bcd+0 ; | STA bcd+0 ; | ||
- | ASL int16 ; | + | ASL int16 ; |
ROL int16+1 | ROL int16+1 | ||
ADC bcd+0 ; | ADC bcd+0 ; | ||
STA bcd+0 ; | STA bcd+0 ; | ||
- | ASL int16 ; | + | ASL int16 ; |
ROL int16+1 | ROL int16+1 | ||
ADC bcd+0 ; | ADC bcd+0 ; | ||
STA bcd+0 ; | STA bcd+0 ; | ||
- | ASL int16 ; | + | ASL int16 ; |
ROL int16+1 | ROL int16+1 | ||
ADC bcd+0 ; | ADC bcd+0 ; | ||
STA bcd+0 ; | STA bcd+0 ; | ||
- | ASL int16 ; | + | ASL int16 ; |
ROL int16+1 | ROL int16+1 | ||
ADC bcd+0 ; | ADC bcd+0 ; |
base/int16_and_uint16_conversion_to_string.txt · Last modified: 2019-08-18 09:35 by verz