homework i want to do it one one day

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]

"Is this question part of your assignment? We can help"

ORDER NOW