Question: 1. Assume V1 is a 32-bit unsigned global variable. We wish to write code that decrements V1 with the exception that it will not decrement
1. Assume V1 is a 32-bit unsigned global variable. We wish to write code that decrements V1 with the exception that it will not decrement if V1 is already 0. Draw a flowchart of the process. Write the code in both C and assembly. [ 2 ]
2. Assume V1 is a 32-bit unsigned global variable. We wish to write code that increments V1 if V1 is less than 100. Draw a flowchart of the process. Write the code in both C and assembly. [2]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
