Question: In this case we have two new instructions, complete a trace for the following case. CMP ( compare ) compares two registers and results in
In this case we have two new instructions, complete a trace for the following case.
CMP compare compares two registers and results in an EQUAL EQ or not equal NE outcome.
JMP will jump to another part of the program if the condition EQ or NE is true.
tableSTARTLDI,RLOOPLDI,RSUB,RRRLDI,RCMPRRJMPNE LOOPENDHALT,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
