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 is cardinality in data modelling, What is cardinality in data modellin...

What is cardinality in data modelling? Cardinality in data modeling, cardinality verifies how the number of occurrences of one object is related to the number of occurrences of

What are the various elements of data design, What are the various elements...

What are the various elements of data design? i. Data object - The data objects are identified and relationship between various data objects can be shown using ERD or data di

Explain basic information flow model, Q. Explain basic information flow mod...

Q. Explain basic information flow model & it's more sophisticated versions? Ans. A Information flow metrics are useful to the components of a system design. For any compone

What is meant by software change, What is meant by software change? Sof...

What is meant by software change? Software change is explained as the change in nature of software as the needs of software changes.

Equivalence class testing, Equivalence class testing Equivalence class ...

Equivalence class testing Equivalence class testing is based on partitioning the input domain of a program into a number of equivalence classes so that the test of a representa

External forces driving competition in the erp industry, Cloud computing is...

Cloud computing is becoming an unrelenting force that is driving competition in the ERP industry and can no longer be ignored by legacy systems, such as Oracle and SAP. Larry Ellis

Dfd, explain dfd

explain dfd

What is equivalence class testing, Q. What is Equivalence class testing? ...

Q. What is Equivalence class testing? Equivalence class testing is based on the partitioning the input domain of a program into a number of equivalence classes so that the test

Software Metircs, I have a comprehensive question for Software Metrics ...i...

I have a comprehensive question for Software Metrics ...it is 16 question

Outsourcing software, discuss how your organization can take advantage of o...

discuss how your organization can take advantage of outsourcing its IT systems/functions

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