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

LPC2104

I am a newbie to ARM and KEIL, I wrote a samll program in assembly and try to simulate it using debuger, I noticed that the PC value is same as the line which is just executed (i.e. marked with green rectangle) but because the arm uses 3 stage pipe line I was expecting to see PC is 8 Byte ahead to the line which is executed. folowing is the code.

GLOBAL Reset_Handler AREA Reset,CODE,READONLY ENTRY
Reset_Handler MOV R0,#0x11 MOV R1,R0,LSL#1 MOV R2,R1,LSL#1
STOP B STOP

END

0