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

SAD Design Phase, describe normalization & its forms? plz i m very thankful...

describe normalization & its forms? plz i m very thankful.......

What is dfd, What is DFD? Data Flow Diagram depicts the information flo...

What is DFD? Data Flow Diagram depicts the information flow and the transforms that are applied on the data as it moves from input to output.

Various attributes of cost drivers used in cocomo model, Various attributes...

Various attributes of cost drivers used in COCOMO model are: 1.  Physical attributes: These are concerned with needed characteristics of the software product being developed.

What is black box and white box testing techniques, Software Project Manage...

Software Project Management 1. What is black box and white box testing techniques? 2. Describe different roles of the software development? 3. List out different project

Explain reverse engineering, REVERSE ENGINEERING :- It is a process of exa...

REVERSE ENGINEERING :- It is a process of examining software with a view to understanding its design and specification. In this, source code and portable code are the input

Define the process of debugging, Define the process of debugging Genera...

Define the process of debugging Generally when developing the code, software developer also carries out some testing. This is called debugging. This unearths the defects that s

Explain the waterfall model, Explain the waterfall model. Explain why it is...

Explain the waterfall model. Explain why it is more advantageous than adhoc methods. Ans Waterfall Model: 1.The waterfall model is a chronological software development p

Software Metircs, I have a comprehensive question in this course need to so...

I have a comprehensive question in this course need to solve

Scenario easy travel singapore ets, select alife cycle model that you would...

select alife cycle model that you would follow during the devolpment of the easy travil singapore system. give an outline description of thise life cycle and justify your chice of

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