In ASM51, the following code is every useful:
-------- file1.asm --------- public MAX MAX EQU 10 -------- file2.asm --------- extrn number(MAX) MOV A,#MAX
-------- file2.C ----------- extern code MAX; #define MAX_NUMBER ((unsigned char)&MAX)
Hi, I have the following line in my assembly code and I want to link with C program. How to declare in C? EXTRN NUMBER (RS485_TASK, RECV_END) Thanks in advance.