ARM How to invoke branching?
Was looking through a code with regards to loop.
loopinner .... SUBS R2,R2,#1 ; j-- BGT loopinner ;in this case, loop should continue when j>1
In this case, I am not sure how BGT branches to the loopinner again. Don't I need to specify what it is greater than? Since SUBS invoke the flags, let's say if j-- becomes the value of 1. How does the branch knows what value it is greater than?