haroon_tech
Member level 2
Hi, i new to arm assembly .so i wanted to compile assembly program but getting some errors . code and error is shown as follows ...please some body help me out..
AREA ARMex, CODE, READONLY
ENTRY
; Name this block of code ARMex
mystart LDR R7,=1223
LDR R2,=3984
ADD R3,R7,R2
stop
NOP
NOP
MOV R0,#0X18
LDR R1,=0X20026
SWI 0X123456
END
error is ...
Build target 'Target 1'
assembling Startup.s...
assembling test.asm...
linking...
add.axf: Warning: L6665W: Neither Lib$$Request$$armlib Lib$$Request$$cpplib defined, not searching ARM libraries.
add.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.
Target not created
AREA ARMex, CODE, READONLY
ENTRY
; Name this block of code ARMex
mystart LDR R7,=1223
LDR R2,=3984
ADD R3,R7,R2
stop
NOP
NOP
MOV R0,#0X18
LDR R1,=0X20026
SWI 0X123456
END
error is ...
Build target 'Target 1'
assembling Startup.s...
assembling test.asm...
linking...
add.axf: Warning: L6665W: Neither Lib$$Request$$armlib Lib$$Request$$cpplib defined, not searching ARM libraries.
add.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.
Target not created