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 00, also permanent, will start this program. This program will accept input values and will store them at consecutive mailbox locations, starting with mailbox 01. You may assume that these values represent the instructions and data of a user's program to be executed. When a 999 is received as input data, the program jumps to location 01 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:
1. 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.
2. The code that you have used to load the program loader starting in memory location 86. Explain in detail how it works.
3. The code for the modified program loader that starts at mailbox 00. Explain the changes you had to do and why you did them.
4. Present and explain your work in points 1,2 and 3 of Section II
5. A picture of the LMC running the original program loader and showing the user program being loaded and executed.
6. A picture of the LMC running the modified program loader and showing the user program being loaded and executed.
I. - Objective Suppose a small program is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!