2

There are three simple instructions from Power PC assembly:

mr. r7, r3
li r3, 0
beqlr

Well, if i understand here all lines correctly, i move value from register r3 to r9, load r3 with 0 and jump to address from LR (link register); dot near mr instruction means that i load cr0 with information of the result of operation but what will be the value of cr0 after moving r3 to r9? and what is the condition under what i jump to the address in LR?

1 Answer 1

0

mr is an alias for or so you can find the relevant information in that instruction's documentation

in this case, as the branching instruction nmenonic indicates, it will jump if r3 was originally 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.