This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

initial.axf: Error: L6218E: Undefined symbol main (referred from rtentry2.o).

Hi, I am new to keil and facing issue when running an Assembly language program as shown below..

AREA ARMex, CODE, READONLY ; Name this block of code ARMex ENTRY ; Mark first instruction to execute
start MOV r0, #10 ; Set up parameters MOV r1, #3 ADD r0, r0, r1 ; r0 = r0 + r1
stop MOV r0, #0x18 ; angel_SWIreason_ReportException END ; Mark end of file

Error Message:initial.axf: Error: L6218E: Undefined symbol main (referred from rtentry2.o).