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 the waterfall model, Explain the waterfall model. Explain why it is...

Explain the waterfall model. Explain why it is more advantageous than adhoc methods. Ans Waterfall Model: 1.The waterfall model is a chronological software development p

State the system engineering hierarchy, State the System Engineering Hierar...

State the System Engineering Hierarchy The world view is made up  of a set of domains (Di),which can either be a system or a system of systems. WV = {D1,D2,D3,...........,Dn

Determine the level 0 and level 1 of DFD, Determine the level 0 and level 1...

Determine the level 0 and level 1 of DFD External entities provide input data for processing. During processing, some intermediate data is generated. After final processing, fi

Explain in detail about the real time systems, Explain in detail about the ...

Explain in detail about the real time systems. Hard and soft real time systems. Real time and high performance. Real-Time control. Real time software design P

Concepts of the object-oriented paradigm, To develop software of lasting qu...

To develop software of lasting quality you have to lay down a solid architectural foundation that is resilient to change. Modelling is at the heart of the development of good quali

Describe the main categories of e-commerce, Question 1: (a) A company w...

Question 1: (a) A company wishes to under-go a Business Process Re-engineering activity with respect to its core business processes. Explain the extent to which MIS could be

Explain testability, Explain Testability? Ans) (1) The degree to which a...

Explain Testability? Ans) (1) The degree to which a scheme or component facilitates the establishment of test criteria and the performance of tests to verify whether those crite

What is a user manual, What is A user manual? Ans) A "user manual" is a ...

What is A user manual? Ans) A "user manual" is a document that presents information essential to employ software or a system to get the desired results. Typically, what is expla

What is control chart, What is Control Chart? Ans) A statistical method ...

What is Control Chart? Ans) A statistical method for distinguishing among common and special cause variation exhibited by processes.

Software life cycle, A) In terms of maintenance in software life cycle, doe...

A) In terms of maintenance in software life cycle, does RUP or agile approach give  better support? Describe your answer.   B) Explain how agile development approach and RUP

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