two fetch-execute cycles, Software Engineering

Assignment Help:

Consider an 8-bit system with 32 memory locations (numbered from 0 to 31) and 8 different instructions. Assume op code for "Load Accumulator" instruction is 510 and for "Add" instruction is 210. At this moment, the program counter register PC contains the value 00100 and is about to increment, memory locations contain the following values:   

Address Contents
01101   00110110
01100   01110100
01011   10111000
:
00110   01001100
00101   10101011
00100   01111000

Perform two fetch-execute cycles, present each step of the cycles and the contents of each special-purpose register at the beginning and at the end of each step of the cycles in binary. If you believe there is no information on the contents of a particular register, indicate it as [unknown] (e.g., MDR[unknown]). If overflow occurs, the MSB is stored in a single-bit flag register and not counted in Accumulator. Express the final contents of Accumulator in both binary and decimal. For your answer, use the following table (two first lines are given as sample):

Step

PC

MAR

MDR

IR

A

PC→MAR                beginning

00101

[unknown]

[unknown]

[unknown]

[unknown]

                                          end

00101

00101

[unknown]

[unknown]

[unknown]


Related Discussions:- two fetch-execute cycles

Explain acceptance testing and beta testing, Q. Explain acceptance testing ...

Q. Explain acceptance testing and beta testing? Acceptance Testing as well as Beta testing: System tests are designed to authenticate a fully developed system to guarantee th

Define a software process, Define a software process. How do software myths...

Define a software process. How do software myths affect a software process? Software process is a Coherent set of activities for specifying, designing, executing and testing so

Differentiate between print preview and layout prev, What is the difference...

What is the difference between Print Preview and Layout Preview? Print Preview and Layout Preview When a report is observed in Print preview, it appears almost exactly as it

What is quality assurance and standards, What is Quality assurance and stan...

What is Quality assurance and standards? Standards are the key to efficient quality management. They may be international, national, and organizational or project standards.

What is requirement traceability, What is Requirement Traceability? Explain...

What is Requirement Traceability? Explain its importance. Requirement Traceability is mapping of needs to test cases. There are two major traceability: Forward and Backward. It

Database schema, Question This question refers to the database Schema....

Question This question refers to the database Schema. Express the following queries in SQL: (a) List the First Name, Last Name and telephone number of all employees who wer

Explain incremental model, Explain incremental model? The incremental ...

Explain incremental model? The incremental model is proposed by D.L PARNAS. It is basically executed by combining elements of linear sequential model and iterative prototyping

Assignment 2, I have to do an assignment. Can you help me to do it

I have to do an assignment. Can you help me to do it

Swot analysis, how to threat into opportunities and weaknesses into streng...

how to threat into opportunities and weaknesses into strength

Modules, write a main module and three other nodules. The owners of the Sup...

write a main module and three other nodules. The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd