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

How is cyclomatic complexity useful in program test, How is cyclomatic comp...

How is cyclomatic complexity useful in program test? Cyclomatic complexity calculates the amount of decision logic in a single software module. It is used for two related purpo

Explain the concept of bottom-up design, Q. Explain the concept of bottom-u...

Q. Explain the concept of bottom-up design? Bottom up design: This approach make possible a style of design where we decide how to combine these modules to provide larger ones

Online bakery-equipments ordering system, Question: Draw a class diagra...

Question: Draw a class diagram which represents the information handled by the Online Bakery-equipments Ordering System. Your class should briefly and simply reflect the relat

Define partitioning, Partitioning:- Problems are often too large and diffi...

Partitioning:- Problems are often too large and difficult to be understood as a whole. For this reason, we tend to partition such difficulties into parts that can be easily unders

Explain storage testing, This is a explanation of whether or not certain pr...

This is a explanation of whether or not certain processing conditions use many storage [memory] than estimated.

Implementation of system functionality, Methodology and system Functionalit...

Methodology and system Functionality: High level views of the proposed system in terms of the requirements that will be supported by the proposed system in the context of busine

Why is good design important for a product, Q. Why is good design important...

Q. Why is good design important for a product? Ans: A superior design is the key to successful product. Almost 2000 years previously a Roman Architect recorded the followin

Difference between restructuring and forward engineering, Problem 1. Ex...

Problem 1. Explain why the use of a standard high-level language does not guarantee that software will be portable across a range of machines 2. Draw possible data flow diag

Possible features of good data, Decision-making is the activity of deciding...

Decision-making is the activity of deciding appropriate action in given situations. Having useful information helps to reduce the uncertainty in decision-making. Information is

What is cyclomatic complexity, What is cyclomatic complexity? Cyclomati...

What is cyclomatic complexity? Cyclomatic complexity is software metric that provides the quantitative measure of logical difficulty of the program. The Cyclomatic complexit

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