How can I export asm labels to my C code. For instance, my asm file has:
label1:
<asm code>
label2:
In my C code I want to get pointers to these labels so the code fragment can be copied.
For instance, in the C code:
BYTE* codeStart = label1 ;
BYTE* codeEnd = label2 ;
size = label2 - label1;
copyCode (codeStart, destination, size);
Thanks
Sorry,
Should have put this question in the newbie category. The answer is to simply use the public keyword.