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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/04/08 13:37
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#154367 - Why You Were Content Dependant
Responding to: ???'s previous message
Here is why your program is content dependant:



You are having the program try to execute through the message text as code. Depending on what you put into that message area the processor would "see" different types of instructions of various sizes. By the time it got to the place you load registers to write the message your load of the length and/or the DPTR load may not execute correctly due to the previous "message code" causing misalignment with the start of each opcoode.

Michael Karas




List of 21 messages in thread
TopicAuthorDate
Damaged LCD?            01/01/70 00:00      
   Some code comments first.            01/01/70 00:00      
      Thanks...            01/01/70 00:00      
         Well if you need it later...            01/01/70 00:00      
            Hmmpf.            01/01/70 00:00      
               Multiple Problems            01/01/70 00:00      
                  My Bad!!!            01/01/70 00:00      
                  :) some improvement            01/01/70 00:00      
               try to initialise at startup            01/01/70 00:00      
                  Wahey...... O not quite            01/01/70 00:00      
                     Hex value            01/01/70 00:00      
                     Check your soldering.            01/01/70 00:00      
                     Oops            01/01/70 00:00      
                        Wahey..... o not AGain            01/01/70 00:00      
                           Leading 0            01/01/70 00:00      
                           Leading zero            01/01/70 00:00      
                     Some help            01/01/70 00:00      
                        Cheers guys, all working now            01/01/70 00:00      
                           Why You Were Content Dependant            01/01/70 00:00      
   The filled in blocks indicate..            01/01/70 00:00      
   No hardware but software problem            01/01/70 00:00      

Back to Subject List