I tried to build this programme using ARM. It just recieves user input as keys and stores them in r0.
AREA ConsoleInput, CODE, READONLY IMPORT main IMPORT getkey IMPORT sendchar EXPORT start
ENTRY
start
read BL getkey CMP R0, #0x0D BEQ endRead BL sendchar
B read
endRead
END
But I go this error msg:
linking... .\main.axf: Warning: L6665W: Neither Lib$$Request$$armlib Lib$$Request$$cpplib defined, not searching ARM libraries. .\main.axf: Error: L6411E: No compatible library exists with a definition of startup symbol __main. Not enough information to list image symbols. Not enough information to list the image map. Finished: 2 information, 1 warning and 1 error messages. ".\main.axf" - 1 Error(s), 1 Warning(s). Target not created
I know it's just something stupid but I can't find an answer.