This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use Assembly macro from C code

Hi,
I have a project has both *.a51 and *.c
source files.

I wrote a macro in assembly code. Is is
possible to use this maro in my c code?

file: macro.a51
MACROTEST MACRO
.
MOV A,#0
.
.
ENDM
END

file: testmacro.c
void
Test(void)
{
.
.
MACROTEST
.
.
}


Thank you.

Ovid.

0