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

Assembly codes for LPC1768

Hi,

I am executing the below code

AREA asse1, CODE, READONLY export start1
start1 mov r0,#10; mov r1,#00;
loop add r1,r0 ;r1=r1+r0 subs r0,#1 ; dec ro bne loop
stop b stop end

I have added all the start up files, but getting an error

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

I am getting similiar error for C-codes also

Please help

0