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

Test-driven software development, A) What is test-driven software developme...

A) What is test-driven software development? Why test-driven software development is significant in agile development approach?   B) Explain how the following software develo

Define black box testing, Define Black box testing Black box testing ...

Define Black box testing Black box testing Black-box test design care for the system as a "black-box", so it doesn't explicitly use knowledge of the internal structure. It ta

Form building, how can i build a data base in easy method on database

how can i build a data base in easy method on database

What is big-bang strategy, Explain Big-Bang Strategy? Ans) Big-Bang appr...

Explain Big-Bang Strategy? Ans) Big-Bang approach is very easy in its philosophy where basically all the modules or builds are constructed and tested independently of each other

Describe the various types of coupling, Describe the various types of coupl...

Describe the various types of coupling? i. Data coupling - The data coupling is possible by parameter passing or data interaction. ii. Control coupling - The modules share c

Briefly explain the requirement capture methods, Problem: (a) Briefly e...

Problem: (a) Briefly explain the requirement capture methods. (c) Using examples, write short notes on the following: i) Aggregation ii) Composition iii) Generalisation

What are the parameters of performance testing, The term "performance testi...

The term "performance testing" is usually used synonymously with stress testing, load testing, reliability testing, and volume testing. It is a part of system testing, but it's als

What is dynamic analysis, The process of evaluating a program based on impl...

The process of evaluating a program based on implementation of that program. Dynamic analysis approaches rely on implementing a piece of software with selected test data.

Define the equivalence class, Q. Define the Equivalence class? Equivale...

Q. Define the Equivalence class? Equivalence class:-It represents a set of valid or else invalid states for input conditions. An input condition is a specific numeric a set of

State the system engineering hierarchy, State the System Engineering Hierar...

State the System Engineering Hierarchy The world view is made up  of a set of domains (Di),which can either be a system or a system of systems. WV = {D1,D2,D3,...........,Dn

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