Question: I. - Objective Suppose a small program is permanently stored in the last few mailbox locations. A BRANCH instruction at location 0 0 , also
I. Objective Suppose a small program is permanently stored in the last few mailbox locations. A BRANCH instruction at location also permanent, will start this program. This program will accept input values and will store them at consecutive mailbox locations, starting with mailbox You may assume that these values represent the instructions and data of a user's program to be executed. When a is received as input data, the program jumps to location where it will proceed to execute the values just entered. The small program described here is known as a program loader, or under certain circumstances as a bootstrap. This program takes advantage that instructions and data are indistinguishable Von Neumann architecture Thus, instructions could be treated as if they were data, if necessary.
Follow from here by looking at the attached picture.
II Make a report that should include:
A flowchart of the program loader program. Make sure you explain well what is that you are doing in the flowchart, otherwise you will lose marks.
The code that you have used to load the program loader starting in memory location Explain in detail how it works.
The code for the modified program loader that starts at mailbox Explain the changes you had to do and why you did them.
Present and explain your work in points and of Section II
A picture of the LMC running the original program loader and showing the user program being loaded and executed.
A picture of the LMC running the modified program loader and showing the user program being loaded and executed.
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
