Lab Instructions and Objectives: 1. Download and install Simulator 7-5-50.exe on your Microsoft Windows Operating System...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Lab Instructions and Objectives: 1. Download and install Simulator 7-5-50.exe" on your Microsoft Windows Operating System machine. 2. Follow the instruction as stated in the lab files to successfully complete this lab assignment, the lab files are posted on course canvas page under module tab""Lab Simulator" 3. Use the CPU simulator to create basic CPU instructions, execute basic CPU instructions, move data to registers, compare values in registers, push data to the stack, pop data from the stack, jump to address locations and add values held in registers. 4. Explain the function of the special CPU registers PC (Program Counter) and SR (Status Register) and status flags OV, N and Z. Produce code for simple conditional statements and loops. 5. Use direct addressing mode of accessing data in memory, use indirect addressing mode of accessing data in memory, write a subroutine and call it, Pass parameters to a subroutine. 6. Explain how common program variables are stored, distinguish between different types of high-level program statements, understand low-level code corresponding to program statements. 7. Explain how program subroutines work, Use the simulator to create user interrupts. 8. Describe the effect of compare instruction on CPU status flags Z and N, construct a loop and explain jump instructions that use Z and N flags, use direct addressing to access memory location(s), Use indirect direct addressing to access memory location(s), Construct a subroutine and call it, Pass parameter(s) to the subroutine. 9. Demonstrate the difference between pipelined and sequential processing of the CPU instructions, explain pipeline data dependency and data hazard, describe a pipeline technique to eliminate data hazards, demonstrate compiler "loop unrolling" optimization's benefits for instruction pipelining, describe compiler re-arranging instructions to minimize data dependencies, Show the use of jump- predict table for pipeline optimization 10. Investigate Directly Mapped cache organization, explain what cache hit and miss rates are, understand one drawback of Directly Mapped cache type, investigate 2-way Set-Associative cache mapping, investigate 4-way Set-Associative cache mapping, Explain the effect of cache size and mapping scheme on cache performance. Lab Instructions and Objectives: 1. Download and install Simulator 7-5-50.exe" on your Microsoft Windows Operating System machine. 2. Follow the instruction as stated in the lab files to successfully complete this lab assignment, the lab files are posted on course canvas page under module tab""Lab Simulator" 3. Use the CPU simulator to create basic CPU instructions, execute basic CPU instructions, move data to registers, compare values in registers, push data to the stack, pop data from the stack, jump to address locations and add values held in registers. 4. Explain the function of the special CPU registers PC (Program Counter) and SR (Status Register) and status flags OV, N and Z. Produce code for simple conditional statements and loops. 5. Use direct addressing mode of accessing data in memory, use indirect addressing mode of accessing data in memory, write a subroutine and call it, Pass parameters to a subroutine. 6. Explain how common program variables are stored, distinguish between different types of high-level program statements, understand low-level code corresponding to program statements. 7. Explain how program subroutines work, Use the simulator to create user interrupts. 8. Describe the effect of compare instruction on CPU status flags Z and N, construct a loop and explain jump instructions that use Z and N flags, use direct addressing to access memory location(s), Use indirect direct addressing to access memory location(s), Construct a subroutine and call it, Pass parameter(s) to the subroutine. 9. Demonstrate the difference between pipelined and sequential processing of the CPU instructions, explain pipeline data dependency and data hazard, describe a pipeline technique to eliminate data hazards, demonstrate compiler "loop unrolling" optimization's benefits for instruction pipelining, describe compiler re-arranging instructions to minimize data dependencies, Show the use of jump- predict table for pipeline optimization 10. Investigate Directly Mapped cache organization, explain what cache hit and miss rates are, understand one drawback of Directly Mapped cache type, investigate 2-way Set-Associative cache mapping, investigate 4-way Set-Associative cache mapping, Explain the effect of cache size and mapping scheme on cache performance.
Expert Answer:
Answer rating: 100% (QA)
Solutions Step 1 Explanation understanding CPU registers and status flags memory addressing modes subroutines interrupts and cache organization These ... View the full answer
Related Book For
Accounting Information Systems
ISBN: 978-0133428537
13th edition
Authors: Marshall B. Romney, Paul J. Steinbart
Posted Date:
Students also viewed these programming questions
-
Several years ago, Brant, Incorporated, sold $960,000 in bonds to the public. Annual cash interest of 9 percent ($86,400) was to be paid on this debt. The bonds were issued at a discount to yield 12...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
In Exercises determine whether the statement is true or false. If it is false, explain why or give an example that shows it is false. The curve represented by the parametric equations x = t and y =...
-
Table 3.5 lists typical elements found in a process control block for an unthreaded OS. Of these, which should belong to a thread control block and which should belong to a process control block for...
-
Which of the following diagrams represent diatomic molecules, polyatomic molecules, molecules that are not compounds, molecules that are compounds, or an elemental form of the substance? (b) (c)
-
What setting can the technician change in the data collector or while viewing the data in the historical database to ascertain whether the reason for a large vibration peak is the proximity to a...
-
Compare Mintzbergs notion of crafting strategies with this textbooks notion of gathering and assimilating information to formulate strategies.
-
ABC Boat Company is interested in replacing a moulding machine with a new improved model. The old machine has a salvage value of $ 2 0 , 0 0 0 now and a predicted salvage value of $ 4 , 0 0 0 in six...
-
Mahalo Boat Adventure Inc. has a July 31 year-end. It showed the following partial amortization schedules regarding two bond issues: Required Answer the following for each bond issue: a. Were the...
-
1000 euro par value, 3% annual-coupon bond was issued 1.03.2015 and has 30 year maturity You purchased the bond on 20.10.2021 Market interest rate for similar securities is 2,8% Calculate following:...
-
Negotiation Game for two students Student A You are the CEO of an Accounting company Your employees rely on their computers for work every day. You want to buy 100 new computers for your company but...
-
A diver is filling an air tank for a dive in T C water. However, filling the tank takes place on land, where the temperature is 25 C . The tanks have a volume of V liters and are made from 10 kg of...
-
What are the five major characteristics of communication? Describe the four listening preferences?
-
Who should report audit program progress to management?
-
Explain how groups and teams are a part of a personal and a professional life.
-
Widget Sales Jesaki Inc. is trying to enter the widget market. The research department established the following price-demand, cost, and revenue functions: p(x) = 60 - 1.20x C(x) = 210 + 12x Cost...
-
What impact has the Internet had on the globalization of small firms? How do you think small companies will use the Internet for business in the future?
-
Develop a set of tables to implement the integrated REA diagram you developed in Problem 18.3 for Sues Gallery in a relational database. Specify a primary key for each table, and suggest at least one...
-
Identify the DFD elements in the following narrative: A customer purchases a few items from a local grocery store. Jill, a salesclerk, enters the transaction in the cash register and takes the...
-
The Journal of Accountancy has published a series of articles that address different aspects of disaster recovery and business continuity planning: 1. Gerber, J. A., and Feldman, E. R. 2002. Is Your...
-
Assume that Timmons Towel and Diaper Services bank pays 1% (APR with quarterly compounding) on its compensating balance accounts. What is the EAR of Timmonss three-month loan?
-
What is the difference between transshipment and transloading?
-
Distinguish the roles played by liner shipping companies and terminal operators in LSCM.
Study smarter with the SolutionInn App