??? 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 |
Topic | Author | Date |
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 |