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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!