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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/01/08 20:56
Read: times


 
#154271 - Leading 0
Responding to: ???'s previous message
>>could you possible explain the reason for have a leading zero and why it appears to only be required on certain numbers?.

Hi Bruce,

It's required on any number starting with an alpha character - for Hex that would be A, B, C, D, E or F. As I understand it. it's to allow the assembler to differentiate between a number (which always starts with a numeric character - 0 to 9) and a label (which always starts with an alpha character).

I'm sure someone will correct me if I'm wrong!

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