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

Error

Hello, I am getting this error,
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
linking...
.\Objects\test.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\Objects\test.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

I am using assembly program,

AREA Reset, CODE, READONLY ENTRY

LDR sp, =0X40001000 MOV r3, #05 MOV r4, #0 LDR r5, =0X40000000 LDR r6, =0X40000010

CLOOP LDR r0, [r5], #4 STR r0, [r6], #4 SUBS R3, R3, #1 BNE CLOOP
STOP BAL STOP END

Please help