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

HI
After exucating this two program code
AREA armtxt,CODE,READONLY ENTRY MOV R0,#0x0F MOV R1,#0x0F MOV R2,#0x0F MOV R3,#0x0F MOV R4,#0x0F END

AREA armtxt,CODE,READONLY ENTRY
Main MOV R0,#0x0F MOV R1,#0x0F MOV R2,#0x0F MOV R3,#0x0F MOV R4,#0x0F END

i am geting this error what is wrong with code

Build target 'Target 1'
assembling Startup.s...
linking...
sd.axf: Warning: L6665W: Neither Lib$$Request$$armlib Lib$$Request$$cpplib defined, not searching ARM libraries.
sd.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.
Target not createderror

Parents
  • "After exucating this two program code"

    No, you have not yet executed your code at all!

    You have Assembled it, and it has then failed to Link correctly - so you do not yet have anything to execute!

    "No compatible library exists with a definition of startup symbol __main."

    Your project is looking for a 'C' entry point; ie, a main() - but you haven't provided one (yet).

Reply
  • "After exucating this two program code"

    No, you have not yet executed your code at all!

    You have Assembled it, and it has then failed to Link correctly - so you do not yet have anything to execute!

    "No compatible library exists with a definition of startup symbol __main."

    Your project is looking for a 'C' entry point; ie, a main() - but you haven't provided one (yet).

Children
No data