• Question about ROM(HUGE) compiler directive
    Hi, My code doesn't work if I compile it with ROM(HUGE) mode, but works fine if compile it under ROM(LARGE) mode. Any comments would be appreciated. Thank you! Processor: p87c51MB2 CX51: V7.04d...
  • Question about ROM(HUGE) compiler directive
    Hi, My code doesn't work if I compile it with ROM(HUGE) mode, but works fine if compile it under ROM(LARGE) mode. Any comments would be appreciated. Thank you! Processor: p87c51MB2 CX51: V7.04d...
  • RET_XSTK compiler directive generating wrong code
    I am using the following compiler directives for C51.exe CFLAGS = DB OE LARGE $(INCDIR) CODE RET_XSTK WL(1) It looks like the generated code is incorrect. I have a TSK_create function with the following...
  • RET_XSTK compiler directive generating wrong code
    I am using the following compiler directives for C51.exe CFLAGS = DB OE LARGE $(INCDIR) CODE RET_XSTK WL(1) It looks like the generated code is incorrect. I have a TSK_create function with the following...
  • effect this code when interrupt comes
    Suppose I an writing a single pin repeatedly like: LPC_GPIO->SET[0] = 1; LPC_GPIO->SET[0] = 0; LPC_GPIO->SET[0] = 1; LPC_GPIO->SET[0] = 0; // interrupt comes here LPC_GPIO->SET[0] = 1; LPC_GPIO...