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

Describe various types of cohesion, Describe various types of Cohesion? ...

Describe various types of Cohesion? i. Coincidentally cohesive -The modules in which the set I\of tasks are linked with each other loosely then these modules are called coincid

Draw an appropriate use-case model, This case-study describes the requireme...

This case-study describes the requirements of an airline travel agency who want to develop a website to allow customers to make online bookings. The outline requirements are descri

Explain difference between test plan and master test plan, What is the diff...

What is the difference between Test Plan and Master Test Plan. Master Test Plan - i.) It is mandatory in all projects. ii.) It provides strategy to be used to test the

Write short note on the various estimation techniques, Write short note on ...

Write short note on the various estimation techniques. Algorithmic cost modelling - the cost estimation is depend on the size of the software. Expert judgement - The experts fr

Defining a prototype on the overall cost, Describe the effect of defining a...

Describe the effect of defining a prototype on the overall cost of the software project? The prototyping model: In this model, a prototype (an previous approximation of a fin

What is heuristics testing, What is Heuristics Testing? Ans) Heuristics ...

What is Heuristics Testing? Ans) Heuristics Testing is the failure-directed testing.

Calculate capacity of a cluster for this disc, A multiplattered HDD is for...

A multiplattered HDD is formatted into twenty sectors and 16 hundred cylinders. There are eight platters and 16 R/W heads. The total capacity of the disc is 1GB. A cluster of data

Linearizability and sequential consistency, QUESTION - Fault Tolerance ...

QUESTION - Fault Tolerance (a) Three computers together provide a replicated service. The manufacturers claim that each computer has a mean time between failure of five days; a

Discuss in detail about cocomo model, Discuss in detail about COCOMO model....

Discuss in detail about COCOMO model. Constructive Cost Model. Software cost estimation gives the opportunity to estimate of how much months a man take to develop a softw

Explain the term - code complete, Explain the term - Code Complete - Ph...

Explain the term - Code Complete - Phase of development where functionality is implemented completely with only bug fixes remaining. - All functions from functional specific

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