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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/18/03 08:16
Read: times


 
#60929 - Dont do it!
Responding to: ???'s previous message
sachin bhalchandra shintr said:
well On keil web forum i got one more suggestion to use absass.h

I presume you mean absacc.h?
# define final DBYTE[0x52]
Don't do that!

That is just propagating yout assembler bad habits into 'C'!

Michael Karas said:
Personally I think the use of hard coded addresses for variable names is about 90% of your problems.


The PUBLIC in assembler and extern in 'C' is the way to go

List of 18 messages in thread
TopicAuthorDate
Asm variables from C keil            01/01/70 00:00      
   Answer already on Keil forum            01/01/70 00:00      
      RE: Answer already on Keil forum            01/01/70 00:00      
   RE: Asm variables from C keil            01/01/70 00:00      
      Cross-posting            01/01/70 00:00      
   RE: Asm variables from C keil            01/01/70 00:00      
      RE: Asm variables from C keil            01/01/70 00:00      
         RE: Asm variables from C keil            01/01/70 00:00      
            RE: Asm variables from C keil            01/01/70 00:00      
               RE: Asm variables from C keil            01/01/70 00:00      
                  RE: Asm variables from C keil            01/01/70 00:00      
      RTFM!            01/01/70 00:00      
         RE: RTFM!            01/01/70 00:00      
            RE: RTFM!            01/01/70 00:00      
               RE: RTFM!            01/01/70 00:00      
                  Dont do it!            01/01/70 00:00      
   RE: Asm variables from C keil off topic            01/01/70 00:00      
      RE: Asm variables from C keil off topic            01/01/70 00:00      

Back to Subject List