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

.\Objects\example1.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).

AREA DATA1, CODE, READONLY
ENTRY
EXPORT __START
__START
MOV R0, #0X01
MOV R1, #0X02
ADD R2, R0, R1
L1 B L1
END

Just I am trying this simple assembly program for LPC1768 but it showing me the indicated error. How to solve it?