We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
#include <reg5000.h> #include <stdio.h> void main(void); void writebyte (unsigned char ch); void main() { unsigned char ch; ch=0x0A; writebyte(ch); } void writebyte (unsigned char ch) { ACC=ch; #pragma ASM PUSH MCON ORL MCON, #4 MOVX @R0, A DEC R0 POP MCON #pragma ENDASM }
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_STARTUP MODULE: rtc-func.obj (RTC_FUNC)