As an assignment for my class i have to implement a code in assembler allowing to jump a specific distance for our arm7 processor we are simulating. My question is, how do we specify the distance we want to jump in code?
I currently have this code :
main :
mov r1, #5
add r0, r2, r3
b test
mov r1, #5
test :
add r0, r2, r3
mov r1, #5
My aim is to be able to jump a few bits to see if my simulations sees that there is a jump and that she calculates correctly the jumping distance
Thank you in advance for any help