two fetch-execute cycles, Software Engineering

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]

Posted Date: 3/11/2013 2:39:32 AM | Location : United States







Related Discussions:- two fetch-execute cycles, Assignment Help, Ask Question on two fetch-execute cycles, Get Answer, Expert's Help, two fetch-execute cycles Discussions

Write discussion on two fetch-execute cycles
Your posts are moderated
Related Questions
Searching the Database: Searching the database and printing the results of a search are important features associated with CDS/ISIS package. The query formulation strategy pro

Lines of code (LOC) is a software metric used to calculate the size of a software program by counting the number of lines in the text of the program's source code. LOC is typicall

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

Write down the concept of Functional independence.  a. Functional independence is gained by developing modules with "single minded" function and an "aversion" to extreme intera

Question 1 Discuss the Limitation of the linear sequential model in software engineering Question 2 What is Software reliability? Why reliability is more important than effic

What are the various testing activities? i. Test planning ii. Test execution iii. Test case design iv. Data collection v. Effective evaluation

What is meant by software change? Software change is termed as the change in nature of software as the requirements of software changes.

Define the factors of prime concern for system modeling Following four factors are of prime concern for system modeling: 1. System modeling is undertaken with some simplifyi


Recovery/error testing is testing how well a system recovers from crashes, hardware failures, or other catastrophic problems.