base:another_hexadecimal_to_decimal_conversion
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
base:another_hexadecimal_to_decimal_conversion [2015-04-17 04:30] – external edit 127.0.0.1 | base:another_hexadecimal_to_decimal_conversion [2020-11-13 21:37] – correction mace | ||
---|---|---|---|
Line 35: | Line 35: | ||
loop2: | loop2: | ||
lda table,x // get the decimal equivalent of the bit in ASCII numbers | lda table,x // get the decimal equivalent of the bit in ASCII numbers | ||
- | beq zero // skip (speed up) when there' | + | adc #$00 // add carry, which will be set if the former addition was >10 |
+ | | ||
adc result,y // add to whatever result we alread haven | adc result,y // add to whatever result we alread haven | ||
cmp #$3a // passing 10 with the addition? | cmp #$3a // passing 10 with the addition? |
base/another_hexadecimal_to_decimal_conversion.txt · Last modified: 2020-11-14 23:05 by mace