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

Regarding ENTRY directive

Hello,
I have written simple program given below in ARM assembly. When i run the program execution is not start from "ENTRY" directive but it execute sequencially from first line. Can anyone answer why is it so?

AREA RESET, CODE, READONLY MOV r0,#0xFF AREA ARMex, CODE, READONLY ; Name this block of code ARMex MOV r0, #10 MOV r1, #3 ADD r0, r0, r1 ; r0 = r0 + r1
stop ENTRY; MOV r0, #0x18 END ; Mark end of file