Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/03/06 14:40
Read: times


 
#115475 - rely on history
Responding to: ???'s previous message
Well, as I've been in contact with Cyrille, and found him to be genuinely intersted in issues relating not only to the 805x but microprocessors/microcontrollers in general, and that may yield a bit of insight.

I don't think it matters WHERE the value of 0x00 is stored, so much as what happens in an 8-bit system when it's decremented. It's already been stated, and quite correctly, that this is going to be 0xFF, which you can interpret as 255 decimal or as -1 in two's complement.

It is true, that one should, generally be more specific about such a question. However, Cyrille is in an environment where his instructors are making do with limited understanding of the subject matter and, therefore, are apparently unable or ill-equipped to explain such matters.

I think, under the circumstances, we should allow him some leeway in expressing his query. His question, however, has been answered, I believe.

Andy has it right, though, in that I believe Cyrille was asking what happens when you decrement from zero, irrespective of the location in the memory space.

RE


List of 24 messages in thread
TopicAuthorDate
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      

Back to Subject List