User Tools

Site Tools


base:int16_and_uint16_conversion_to_string

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
base:int16_and_uint16_conversion_to_string [2019-08-16 17:25] verzbase: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     ;                               5         ROL int16+1     ;                               5
-;        LDA bcd+0      ; And add into result             +;        LDA bcd+0      ;              
-        ADC bcd+0       ;                               3+        ADC bcd+0       ; And add into result           3
         STA bcd+0       ;                               3         STA bcd+0       ;                               3
-        ASL int16       ; Shift out one bit             5+        ASL int16       ;                               5
         ROL int16+1     ;                               5         ROL int16+1     ;                               5
         ADC bcd+0       ;                               3         ADC bcd+0       ;                               3
         STA bcd+0       ;                               3         STA bcd+0       ;                               3
-        ASL int16       ; Shift out one bit             5+        ASL int16       ;                               5
         ROL int16+1     ;                               5         ROL int16+1     ;                               5
         ADC bcd+0       ;                               3         ADC bcd+0       ;                               3
         STA bcd+0       ;                               3         STA bcd+0       ;                               3
-        ASL int16       ; Shift out one bit             5+        ASL int16       ;                               5
         ROL int16+1     ;                               5         ROL int16+1     ;                               5
         ADC bcd+0       ;                               3         ADC bcd+0       ;                               3
         STA bcd+0       ;                               3         STA bcd+0       ;                               3
-        ASL int16       ; Shift out one bit             5+        ASL int16       ;                               5
         ROL int16+1     ;                               5         ROL int16+1     ;                               5
         ADC bcd+0       ;                               3         ADC bcd+0       ;                               3
         STA bcd+0       ;                               3         STA bcd+0       ;                               3
-        ASL int16       ; Shift out one bit             5+        ASL int16       ;                               5
         ROL int16+1     ;                               5         ROL int16+1     ;                               5
         ADC bcd+0       ;                               3         ADC bcd+0       ;                               3
base/int16_and_uint16_conversion_to_string.txt · Last modified: 2019-08-18 09:35 by verz