I have a main program that is is C and subroutines in assembly. I followed the example given on the keil website and it is throwing error a30 for the "RESEG" LINE. Can anyone see the error that I am making? NAME TEMP_CHECK ?PR?temp_check SEGMENT CODE PUBLIC TEMP_CHECK RSEG ?PR?temp_check?TEMP_CHECK TEMP_CHECK: ; RET END
The easy way: Generate a skeleton version of your assembly routine in C and use the generated assembly as a template. Erik