This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

constant macro

Hello,

can I print the  macros like __MODEL__? Would it be possible to do this in an batch file in Options / User?

Thanks in advance

Parents
  • How do I know which macros are set?

    I don't fully understand your question. As I mentioned before, our C166 lists all predefined macros.

    "C166 manuals are not available online, but you can see the values in the file C:\Keil_v5\C166\hlp\c166.chm chapter  'Preprocessor - Macros - Predefined Macros'."

    Here is a screen capture of that manual page:

    How do the compiler decide which macros to set?

    The compiler sets all these macros with a specific value or sting.

Reply
  • How do I know which macros are set?

    I don't fully understand your question. As I mentioned before, our C166 lists all predefined macros.

    "C166 manuals are not available online, but you can see the values in the file C:\Keil_v5\C166\hlp\c166.chm chapter  'Preprocessor - Macros - Predefined Macros'."

    Here is a screen capture of that manual page:

    How do the compiler decide which macros to set?

    The compiler sets all these macros with a specific value or sting.

Children