when swi instruction is executed at that time it is said that pc is not updated yet so it is pointing to instruction next to swi instruction for example
addr code
0x0000 swi 1000x0004 mov r1,r20x0008 mov r2,r3
so in this code when swi instruction…