How to call an Assembly "macro" function in C language code??
example:
in xx.asm
add3 .macro P1, P2
MOV ACC,P1
ADD ACC,P2
.endm
in xx.c
extern void add3(int,int);
void main(void)
{
add3(10,2);
}
there is some tings wrong.
Thanks