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

Business intelligence, What are the advantages and disadvantages of using a...

What are the advantages and disadvantages of using a Business Intelligence (BI) software system in a small/medium level business?

SQA Planning, I want to know that what are the activities, roles,artifacts ...

I want to know that what are the activities, roles,artifacts and goals do a planning phase of SQE encempass? How can we prepare sqa plan for any project?

State the advantages of prototyping, State the Advantages of Prototyping ...

State the Advantages of Prototyping Advantages of prototyping outperform problems of prototyping. Hence overall, it's a beneficial approach to develop prototype. End user can'

Explain abstraction, Abstraction :- Abstraction allows one to concentrate o...

Abstraction :- Abstraction allows one to concentrate on a problem at some level of generalization without regard to irrelevant low level details; use of abstraction also allows one

Determine in verify about capability maturity models, Determine in verify a...

Determine in verify about CAPABILITY MATURITY MODELS In this model anapproach for improving Software process is devised. It isn't concerned which life cycle modeis followed for

Define the term software architecture, Define the term "software architectu...

Define the term "software architecture." The software architecture of a program or a computing system is the basic structure of the system, which comprises software components

Software requirments, #questionFrame Diagrams We discussed the importance o...

#questionFrame Diagrams We discussed the importance of framing a problem in order to understand the problem better and be able to develop a solution more quickly and easily. In thi

Srs, why srs is also called black box specificaton

why srs is also called black box specificaton

Explain in detail about black box testing, Explain in detail about Black bo...

Explain in detail about Black box testing. Black box or behavioural testing focuses on the functional needs of the software. It is applied during the last stage of testing.

Whta is boundary value analysis, Boundary Value Analysis:    It's widely ex...

Boundary Value Analysis:    It's widely examined that input values at the extreme ends of input domain cause more errors in system. More application errors happen at the boundaries

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