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 05:58
Read: times


 
#140471 - Example
Responding to: ???'s previous message
Thanks for responce.

This is example where problem is prominant:

C file:

enum screen_no {
Code_Scr,
Serial_No_Scr,
Set_Scr
}

Asm file needs same constants. But one has to write as follows:

Code_Scr EQU 0
Serial_No_Scr EQU 1
Set_Scr EQU 2

These two seperate formate/Syntex makes it impossible to make a common include file.

Problem is serious because all these screen number goes to more then 100!! enum is logical way out, but A51 will not support it.

I am using keil tools.

Vimal Amin



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