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 vo browser extension, What is VO browser extension? - It is a S...

What is VO browser extension? - It is a SilkTest add-on component to test Web applications. - To identify browser-rendered objects it employs sophisticated pattern recogniti

Project tracking, project tracking and overview of project process?

project tracking and overview of project process?

Hatley pirbhai, what is hatley pirbhai extension and what is its use

what is hatley pirbhai extension and what is its use

Write a valid schema for the container, A storage tank has a container to k...

A storage tank has a container to keep a certain amount of fuel and it also has an indicator to inform about the level of fuel inside the container. The container cannot exceed

Advantages and disadvantages of business intelligence, 1) Case A...

1) Case Analysis (maximum of 6 pages per case, double spaced) The following format may be used as a guideline for Case Analysis: Key Issues Identified in Case Sta

30 60 90 TRIANGLES, Find the length of the hypotenuse. With a short side of...

Find the length of the hypotenuse. With a short side of radical 3 and a long side with 3 radical 2 Simplify the radical if you can.

The most important feature of spiral model, The most important feature of s...

The most important feature of spiral model is Risk management is the important feature of spiral model.

Explain different recording modes, Explain different recording modes. T...

Explain different recording modes. There are two type of recording modes: context sensitive and analog. - Context Sensitive - identifies GUI objects and records operations

Pert chart, Well establish garment factory (large scale- one of country big...

Well establish garment factory (large scale- one of country biggest) received order of 40,000 fabric to complete within 12 weeks. (This is well profitable order which cannot be ign

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