Hi,
In Keil, I tried to assemble the following ARM7 assembly language. But it generates Error.
The assembly program is given below:
AREA subrout, CODE, READONLY ENTRY start MOV r0, #10 MOV r1, #3 BL doadd stop MOV r0, #0x18 LDR r1, =0x20026 SVC #0x123456 doadd ADD r0, r0, r1 BX lr END
The Assembler error is given below: Build target 'Target 1' assembling EX1.s... linking... ASM.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST. Target not created
Please give me your inputs on this.
try this:
AREA subrout, CODE, READONLY ENTRY ENTRY; ...
and then link with "--entry 0x0" to define the real start of your code.