Question: When coding in Loa, there are many ways to check that two registers (say 1 and 2) values are equal Which statement below is true
When coding in Loa, there are many ways to check that two registers (say 1 and 2) values are equal Which statement below is true Your answer You use the AND instruction between the two registers. The outcome is 1 if they are equal and otherwise. From there you use a simple conditional branch Instruction You use the Division Instruction Div between register R1 and R2. If the outcome is then they are equal. From there you use a simple conditional branch instruction You store their difference in a register and compare the register content to zero using the BRZ instruction You use the CR4Compare Register) instruction which directly compares two register values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
