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

Find the decrement of failure intensity per failure, Q. Assume that a progr...

Q. Assume that a program will experience 200 failures in infinite time. It has now experienced 100. The initial failure intensity was 20 failures/CPU hr. (i) Determine the cur

Explain incremental testing, Incremental integration testing is permanent t...

Incremental integration testing is permanent testing of an application as new functionality is recommended. This may need that various aspects of an application's functionality are

What does modularity concept mean, What does Modularity concept mean? S...

What does Modularity concept mean? Software architecture embodies modularity; ie, Software is named in to addressable components called as modules that are integrated finally.

Explain the modularity concept mean, What does Modularity concept mean? ...

What does Modularity concept mean? Software architecture embodies modularity; i.e. Software is named in to addressable components called modules, which are integrated finally.

Define behavioral modelling, Define Behavioral Modelling The state tran...

Define Behavioral Modelling The state transition diagram represents the behavior of a system by depicting its states and the events that cause the system to change state.

Explain regression testing, Question 1 Explain Iterative Development Model...

Question 1 Explain Iterative Development Model in detail Question 2 What is statistical testing? What are the steps involved in statistical Testing Question 3 Explain wh

Draw the context diagram, Q. A supermarket requires to develop software to ...

Q. A supermarket requires to develop software to encourage regular customers. For this the customer requires to supply his name address telephone number and driving license number.

What is a boundary value analysis, What is a boundary value analysis? A...

What is a boundary value analysis? A boundary value analysis is a testing method in which the elements at the edge of the domain are selected and tested. It is a test case desi

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