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

Write about software change methods, Write about software change methods. ...

Write about software change methods. The software change strategies that could be applied individually or together are: Software maintenance - The changes are made in the softw

Define the prototyping model, Define the Prototyping Model In this mod...

Define the Prototyping Model In this model, a working model of actual software is developed originally. Prototype is just like a sample software having low reliability and les

Find the decrement of failure intensity per failure, Q. Assume that a progr...

Q. Assume that a program will experience 200 failures in infinite time. It has now experienced 100. The initial failure intensity was 20 failures/CPU hr. (i) Determine the cur

Describe briefly on the seven stages in a product life cycle, Problem 1: ...

Problem 1: Describe briefly on the seven stages in a product life cycle. Problem 2: What do you meant by SSAD? Explain in detail. Problem 3: What is a predictiv

What are the challenges in software, What are the challenges in software?  ...

What are the challenges in software?  Copying with legacy systems. Heterogeneity challenge  Delivery times challenge

What are the roles of glass-box and black-box testing tools, What are the r...

What are the roles of glass-box and black-box testing tools? Glass Box (or white box) testing is the method of giving i/p to the system and checking how the system processes i/

Discuss spiral model for software life cycle, Discuss spiral model for soft...

Discuss spiral model for software life cycle SPIRAL MODEL The spiral model is classified into number of frame works. These frameworks are represented by task regions.

Who is a stake holder for a software project, Q. Who is a stake holder for ...

Q. Who is a stake holder for a software project? [Stake holder :- something or somebody with direct interest:  a group or person with a direct interest, investment or involvem

Describe basic steps in software cost estimation, Question: (a) Describ...

Question: (a) Describe fully the first five basic steps in software cost estimation. (b) What are the main differences between COCOMO1 and COCOMO2 cost estimation models?

What is a software version, What is a software version? A software versi...

What is a software version? A software version is a start release (or re-release) of a software associated with a done compilation (or recompilation) of the software.

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