• a problem with macro definition
    #define FLASH_BASE 0x080000 #define RECORD_SIZE 32 #define RECORDS_PER_SECTOR (FLASH_SECTOR_SIZE / RECORD_SIZE) #define MAX_RECORD_NUM 30135 #define MAX_RECORD_ADDR (MAX_RECORD_NUM * RECORD_SIZE...
  • PROBLEMS WITH MACROS WHEN DEBUGGING
    When I am debugging an assembler module in uVison2 v2.40 and I set a breakpoint in a macro (standard macro), the debugger executes all instruccions in that macro unless the last instruction. But...
  • PROBLEMS WITH MACROS WHEN DEBUGGING
    When I am debugging an assembler module in uVison2 v2.40 and I set a breakpoint in a macro (standard macro), the debugger executes all instruccions in that macro unless the last instruction. But...
  • a problem with macro definition
    #define FLASH_BASE 0x080000 #define RECORD_SIZE 32 #define RECORDS_PER_SECTOR (FLASH_SECTOR_SIZE / RECORD_SIZE) #define MAX_RECORD_NUM 30135 #define MAX_RECORD_ADDR (MAX_RECORD_NUM * RECORD_SIZE...
  • Macro translation problem
    I am converting some old Standard Assembler Macros over to MPL. I am stuck on the old IRPC directive which was soo useful. I can't find anything similar in MPL. Any help on "rolling my own" MPL version...