Hi all I want to add Asm file to a 'C' project. Project has one '.c'and one '.h' file. Assmbly file to be added is with '.a51' extension.only one routine is added to a51 file,which is called from main.A51 file is getting assembled successfully,but project is not getting compiled as whole. decleration in main file is :
extern void delay_asm(unsigned char);
void main() { . delay_asm(2); . }
PR?delay_asm?delay_asm SEGMENT CODE PUBLIC delay_asm delay_asm: USING 0 mov a,R7 rv:dec A Jnz rv RET END