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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/07 08:38
Modified:
  06/09/07 08:44

Read: times


 
#140477 - RTFM?
Responding to: ???'s previous message
Vimal Amin said:
I am using keil tools.

In that case, read the thread that I mentioned before:
I said:
... depends on the particular tools you're using; for Keil, see
http://www.keil.com/forum/doc...p#msg47396

The relevant section in the Keil Assembler Manual is:
http://www.keil.com/support/m...1_mp_c.htm

The Keil Assembler Manual said:
The Ax51 Assembler includes a standard C preprocessor that is identical with the macro preprocessor in the Cx51 Compiler (with a few minor exceptions).

Obviously, the Assembler isn't going to understand enums - so you're going to have to make all your constants #defines...

List of 8 messages in thread
TopicAuthorDate
Constants as extern            01/01/70 00:00      
   Insufficient Information            01/01/70 00:00      
      tool-independent approach            01/01/70 00:00      
         Preprocessing            01/01/70 00:00      
   Example            01/01/70 00:00      
      RTFM?            01/01/70 00:00      
   Here is one way to do it            01/01/70 00:00      
   Thanks a lot            01/01/70 00:00      

Back to Subject List