Question: please answer above questions Thank you! Answer 7-8 after reading the following code: Address Instruction 2000 2001 LDI R20, 5 LDI R21, 15 INC R20
please answer above questions Thank you!
Answer 7-8 after reading the following code: Address Instruction 2000 2001 LDI R20, 5 LDI R21, 15 INC R20 2002 B1: 2003 2004 CP R20, R21 BRNE B1 BREQ B2 2005 2006 DEC R20 2007 B2: INC R20 2008 RET 7. What are the operands of the two branching instructions? Remember that Branch instructions have a signed 7 bit value. We are interested in the two values that would be placed in that branch instructions. 8. What is the value of R20 at the return of this code
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
