• Import definitions/macros
    Hello... Currently I am using a header file that contains imported variables/functions/arrays at specific addressing. This is not ideal but it is the only workaround I have for my project. Now I...
  • Use in Macro Definitions
    I need to define macros that contains inline assembly. I have used the solution explained in this link: http://www.keil.com/support/man/docs/c166/c166_le_extmacros.htm however, this doesn't...
  • compiler crash instead of error in macro definition usage
    I am using C51 compiler V7.50 I don't know if this 'works' on other versions however I was able to crash the compiler by this 'silly' macro usage // causes compiler to crash #define WORD_SIZE(N)...
  • problem with macro
    the following type of macro defining causing error , what should i do? plz help. #define LCD_DATA P2 error: 'LCD_DATA': undefined identifier
  • MACRO
    Hello, May I know if the code as shown below works? -------------------------------------------- #pragma src void main(void){ #pragma asm myMacro MACRO MOV R1, #01 MOV R2, #02 MOV R3,...