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

What is function points, Q. What is Function points? Function points :...

Q. What is Function points? Function points : Function point calculates the functionality from the user opinion that is on the basis of what the user request and receives in r

Why software maintenance is require, Why Software maintenance is require ...

Why Software maintenance is require Software maintenance is done due to the below factors. i)  To rectify the errors which are encountered during the operation of software.

Describe design walk throughs, Describe design walk throughs A design wa...

Describe design walk throughs A design walkthrough is a quality practice that allows designers to obtain an early validation of design decisions related to the development and t

What is change management, What is Change management? Software systems ...

What is Change management? Software systems are subject to continual change requests; From users; From developers; From market forces. Change management is

Explain sci, What is SCI? Software Configuration Item is information th...

What is SCI? Software Configuration Item is information that is carried as part of the software engineering process.

What is a variant, What is a variant Ans) "Variants" are versions of a p...

What is a variant Ans) "Variants" are versions of a program.

What is process analysis and modelling, What is Process analysis and modell...

What is Process analysis and modelling? Process analysis The study of existing processes to understand the relationships among parts of the process and to compare them

What is a modular system, What is a modular system? A modular system h...

What is a modular system? A modular system having of well defined manageable units to well defined  interfaces between them.

Define software reliability, Define software reliability. What is the diffe...

Define software reliability. What is the difference between hardware & software reliability? Ans: Software reliability is the possibility that software will provide failure-f

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