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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/06/06 18:37
Read: times


 
#129088 - ARGH
Responding to: ???'s previous message
For example, all labels within a routine can have the same name as the routine, plus some extension - e.g. in routine AddNumber, the first label would be AddNumber_1, the second AddNumber_2 etc.
If you do that do never ask me to look at your code.

If you want to link your labels to the routine where they are used preface with an abbreviation like this
AddNumber:
mov a,ANOindex;
mov r0,ANOcounr;
etc

That way you can link to routine and still have meaningful names.

Erik


List of 27 messages in thread
TopicAuthorDate
Interrupt handeling in C/C++ for 8051            01/01/70 00:00      
   before asking such questions, work through the Kei            01/01/70 00:00      
   RTFM            01/01/70 00:00      
      It is enough now THANKS A LOT for Mr. Andy Neil            01/01/70 00:00      
   labels?            01/01/70 00:00      
      ARGH            01/01/70 00:00      
         labels?            01/01/70 00:00      
            still meaninbgless            01/01/70 00:00      
               what's O in ANOloop/ANOdone?            01/01/70 00:00      
                  an abbreviation of AddNumber            01/01/70 00:00      
               aaah now I see what you meant...            01/01/70 00:00      
                  intuitive            01/01/70 00:00      
                     that's not the case            01/01/70 00:00      
                        it would take, at least, 10.000 programmers to fin            01/01/70 00:00      
      switching to structured programming?            01/01/70 00:00      
         OOPS            01/01/70 00:00      
            to structure or not to structure            01/01/70 00:00      
               it is            01/01/70 00:00      
                  sometimes yes, sometime not quite so well...            01/01/70 00:00      
            eh?            01/01/70 00:00      
               YOUR definition            01/01/70 00:00      
                  hmm........            01/01/70 00:00      
                     different from what?            01/01/70 00:00      
                        this            01/01/70 00:00      
   labels yes but nor RANdom Capitalization please            01/01/70 00:00      
      what is 'random' about            01/01/70 00:00      
   that you believe in one definition ...            01/01/70 00:00      

Back to Subject List