• 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,...
  • ## Macro
    Hi, I am use the ## as follows #define ADC_SRV_DEV 1 #define ADCCON(dev, chan, reg) AD##dev##CON##chan##reg then when I give ADCCON(ADC_SRV_DEV, 1, bits.FORM) = 3; // this is equavalent...
  • strlen() <-> xstrlen(), xhuge, etc.
    Hi all, Our project uses the HLARGE memory model. I'm trying to run the (received but not very well documented) application from RAM instead of flash by copying it to RAM in the startup.a66 file. And...
  • strlen() <-> xstrlen(), xhuge, etc.
    Hi all, Our project uses the HLARGE memory model. I'm trying to run the (received but not very well documented) application from RAM instead of flash by copying it to RAM in the startup.a66 file. And...
  • RTX flags etc
    In the Keil help section it seems to imply that each task name gets its own individual 16bit flag ie. as in os_evt_set (0x0004, id2); and os_evt_set (0x0004, id3); if so, how does os_evt_wait_or (0x0004...