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
Explain Control Structure Testing Ans) Due to basis path testing alone is insufficient, other methods should be utilized. Condition testing can be utilized to design test cas

Define software scope. The first software project management activity is the determination of software scope. Scope is defined answering the following questions. Context: Wh

Write short notes on estimation models. Empirical estimation models can be used to complement decomposition methods and propose a potentially valuable approach in their own rig

Q. Usual stages of the simplified design process? Pre-production design Design brief it is an early often the beginning statement of design goals Analysis i

I am working on DD development project and I am using 475 field communicator for testing DD. While development of DD, I tested DD with SDC 625 PC application using HART modem. I h

Define the process of debugging Generally when developing the code, software developer also carries out some testing. This is called debugging. This unearths the defects that s

What are the demerits of spiral model? i. It is depends on customer communication. If the communication is not suitable then the software product that gets developed will not r

A Software Requirements Specification (SRS) is a complete description of the behavior of the system to be developed. It includes a set of use cases, describing the interactions

A set of people, machines, and methods prepared to accomplish a set of specified functions.

#questionHomes R Us is a group of large department stores who wish to improve the customer service they decide they need a database to capture and store information relating to cus