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
Data validity is the reasonableness and correctness of data.

Q. Management Issues in software development? Management Issues:-Project managers typically write the risk management plan and most people don't wish to air their weaknesses in

Define Brooks law. Software was delivered late, was not reliable, cost various times the original estimates and often exhibited poor performance characteristics.

Testing designed to challenge a system's capability to handle the maximum amount of data over a period of time. This type of testing also classify a system's ability to handle over

Function testing of OO software is no dissimilar than validation testing of procedural software. Client involvement is generally part of this testing stage. In OO environment use c

Product Engineering The Product engineering which is also called system engineering is a problem solving activity. To function, desired product data, and behaviour are uncovere

State the function of Functional model Functional model: This defines operation which the system must implement. For every operation, from analysis model must be assigned al

What is software maintenance Alters to the software are made in response to altered requirements but the fundamental structure of the software remains same.

What is architectural evolution? Architectural evolution is the method of changing a system from a centralized architecture to a distributed architecture as client server.

what is structure and design methodology