I am new to assembly language programming and tried running the following MOV and ADD program in Keil uvision 4.03
AREA ARMex, CODE, READONLY ; Name this block of code ARMex ENTRY ; Mark first instruction to execute add MOV r0,r1,LSL #1 ADD r3,r0,r2 END stop b STOP
I was able to build it successfully. But while running the code, the code is running continuously and when I select STOP, it displays the results correctly in the register window. But the results are displayed only if I select STOP, not otherwise. Where am I going wrong?