Question: Assume the operating system for LC - 3 has had new service routines added to it . Consider the following code fragment that requests one
Assume the operating system for LC has had new service routines added to it Consider the following code fragment that
requests one of those new service routines:
Also consider the following partial trap vector table aka jump table:
For each part below, enter the addresses and the machine code as digit hex values in LC format like the following: xF
A What address is used by the code above to access the trap vector table?
B What is the starting address of the service routine called by the code above?
C If the symbol table shows LOOP is address what is the return address from the service routine?
D What is the machine code for the instruction the service routine uses to return to the code above?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
