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 09:34
Read: times


 
#115440 - Because
Responding to: ???'s previous message
Charles Bannister said:
Hello Steve,

Explain how you came up with the interpretation that Decrementing 0h means memory location zero.

Could it possible mean the book was referencing an 8 bit value that when decremented would result in 0xFF?


DEC can apply to A, R0-7 and internal Ram. If it were A, it would be DEC A, If it were a register it would be DEC Rx. SO this must be DEC (iram0)

Unless you then say Iram 0 contains 0 to begin with, its state after DEC must be undefined. If you SO say its 0 then it will contain 255.

Steve


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