• what's the function of "AREGS"and "NOAREGS"
    what's the function of "AREGS"and "NOAREGS", can you provide me some sample, so that I could understand them clear. Are them still useful in current updated versions. In the manual it is said that with...
  • AREGS / NOAREGS duration?
    Hi All. To me, the manual is not entirely clear on this issue: Does #pragma NOAREGS apply only to the immediately-following function, or does it apply to all functions that follow it until a #pragma...
  • #pragma REGISTERBANK(x) and AREGS/NOAREGS directivs
    Hello, I would like to get more specific information regarding the use of #pragma REGISTERBANK(x) and AREGS/NOAREGS directivs. Assuming the following code: void UartIsr(void) INTERRUPT(4) USING...
  • Why doesn't the NOAREGS works?
    #pragma NOAREGS char noaregfunc(char i) using 1 { return i+1; } void main(void) { char ch = noaregfunc(2); } Source code: C_STARTUP: C:0x0000 020011 LJMP C:0011 2: char noaregfunc (char i) using...
  • How to conditionally NOAREG a fn?
    Hi All. Imagine a function that looks like this: DEFINED_SYMBOL1 type FnName(args) DEFINED_SYMBOL2 { ...; } By appropriate definition of DEFINED_SYMBOL1 and DEFINED_SYMBOL2, I would like to end up...