??? 05/03/06 19:45 Read: times |
#115500 - Think about an ordometer Responding to: ???'s previous message |
After 999999 it goes to zero.
run it bacwards 0 goes to 999999. an 8 bit register can hold 0 to 255 (0x00 - 0xFF) 255 (0x00FF) + 1 = 256 (0x0100) the additional bit can not be stored. (but the carry holds it). 0 (0x00) - 1 = -1 (0x0FF) This holds true for all uPs (as far as I know) and all register sizes. |
Topic | Author | Date |
DEC 0H ? | 01/01/70 00:00 | |
dec | 01/01/70 00:00 | |
How you figure its memory location zero? | 01/01/70 00:00 | |
Because | 01/01/70 00:00 | |
assumption... | 01/01/70 00:00 | |
think of it like a clock | 01/01/70 00:00 | |
i think it's bible time | 01/01/70 00:00 | |
ASSUME = ASS U ME read and head. | 01/01/70 00:00 | |
but the answer will still be in "the bib | 01/01/70 00:00 | |
It's in the title! | 01/01/70 00:00 | |
rely on history | 01/01/70 00:00 | |
exceptions? | 01/01/70 00:00 | |
not exactly that ... | 01/01/70 00:00 | |
DEC R6 ! (8051 chip) | 01/01/70 00:00 | |
the description of the DEC instruction | 01/01/70 00:00 | |
Good! Erick | 01/01/70 00:00 | |
why work from print | 01/01/70 00:00 | |
I do ! | 01/01/70 00:00 | |
Surely that's justification enough. | 01/01/70 00:00 | |
I did not suggest that | 01/01/70 00:00 | |
I did not suggest that ! ....![]() | 01/01/70 00:00 | |
Think about an ordometer | 01/01/70 00:00 | |
control apps | 01/01/70 00:00 | |
In decimal mode ... | 01/01/70 00:00 |