INSTRUCTIONS: Show all your work. Hand in a hardcopy. Blackboard solutions will not be accepted.
- Assume there are two 32-bit variables in RAM memory called In and Out. Write C code that sets Out equal to In plus 1. [1]
- Assume there are two 32-bit variables in RAM memory called In and Out. Write assembly code that sets Out equal to In plus 1. [1]
- What are the three stack rules? [1]
- List three addressing modes. [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 ]
- 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]
- Develop the pseudocode and the flowchart for a program that finds the sum of 5 numbers.[2]
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!
NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.
