Question: Write a C++ program reflecting Figure 8 2 using the data in Figure 8 1 that asks the user to input a memory address and

 Write a C++ program reflecting Figure 8 2 using the data

Write a C++ program reflecting Figure 8 2 using the data in Figure 8 1 that asks the user to input a memory address and then displays the output on the screen When you run the program, you will see that you are prompted to input an address and the corresponding output will be displayed. Then you are prompted to input another address and then its output is printed on the screen, so on. -Use 300020, 300040, 350010, 420940, and 430070 as the input addresses the CPU send Your outputs should be: "Your input is not acceptable because of addressing error by base register value", "Your input is not acceptable because of addressing error by base + limit registers", or "Your input is a correct logical address in memory". For example, when "300040" is entered as input, then "Your input is a correct logical address in memory" should be displayed on the screen

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 Databases Questions!