When I try to compile this code with OSDK:
Code: Select all
#define A 1
#define B (1 << (A - 2))
#define C (1 >> (A - 2))
void main(void)
{
int x;
x = A + B + C;
}
Code: Select all
LSHW_CCD(1,-1,tmp0)
obj/tests.o1:line 277: 06c2:Syntax error
RSHW_CCD(1,-1,tmp1)
obj/tests.o1:line 285: 06c8:Syntax error
but the compiler generates relevant macro names 'LSHW_CCD' and 'RSHW_CCD' which are missing from file 'MACROS.H'
In 'MACROS.H' file I found defined:
#define LSHW_DCD(tmp1,cte2,tmp3)\
#define LSHW_CDD(cte1,tmp2,tmp3)\
But I don't know how the missing LSHW_CCD should look like :
Any ideas?