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

What are version management tools, What are Version management tools? ...

What are Version management tools? Version and release identification Systems assign identifiers automatically when a new version is submitted to the system. St

Explain iterative enhancement model, Q. Explain Iterative Enhancement model...

Q. Explain Iterative Enhancement model? This model incorporates modification in the software based on the analysis of the existing system. As well the complete documentation of

Discuss the system quality attributes, Question 1 What are the advantages ...

Question 1 What are the advantages and disadvantages of layered systems? Question 2 Discuss the system quality attributes Question 3 Discuss the six components of

Find the degree of capability of software reliability model, Q. Define capa...

Q. Define capability. What are the quantities that determine the degree of capability of a software reliability model? Ans: Capability demotes to the ability of the model to

What is architectural transformation, What is architectural transformation?...

What is architectural transformation? This is a more radical approach to software change then maintenance as it involves making significant changes to the architecture of the s

Software modelling, Enterprise software platforms are designed to simpl...

Enterprise software platforms are designed to simplify complex enterprise problems for the development, deployment, and maintenance of multi-tier enterprise solutions. In

Explain performance testing, Performance testing signifies loads, volumes, ...

Performance testing signifies loads, volumes, and response times, as described by requirements. Although performance testing is a part of system testing, it can be regarded as a ex

What is product metrics, Product metrics: explain the characteristics of t...

Product metrics: explain the characteristics of the product such as size, complexity, design features, performance, efficiency, reliability, portability, etc.

Mca, encoded micro instruction vs unecoded micro instruction

encoded micro instruction vs unecoded micro instruction

What is process analysis and modelling, What is Process analysis and modell...

What is Process analysis and modelling? Process analysis The study of existing processes to understand the relationships among parts of the process and to compare them

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