Question
1. Assume the current value of the program counter ( PC ) register is 120. The instruction at that location is Add Ax, Var1 .
1. Assume the current value of the program counter (PC) register is 120. The instruction at that location is Add Ax, Var1. Also assume the current value at register Ax is 25, and Var1 contains 30.
Show step by step how this instruction is executed. What will be the values of Ax and PC registers after executing this instruction?
2. In a program we have a jump instruction as jmp label where label refers to instruction at address 200. What will be the result of running this instruction? Values of which CPU registers (if any) will change? How?
3. What are the main responsibilities of the memory management part of operating systems? What challenges does it face?
Deliverable
A report including your answers to the above questions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started