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 scenario, Scenario A scenario is a sequence of events that happ...

Scenario A scenario is a sequence of events that happen in a particular implementation of the system. A scenario can be defined textually by enumerating the sequence of events

Explain the cardinality and optionally, Cardinality & Optionally Card...

Cardinality & Optionally Cardinality represents the relationship between two entities. Consider one to many relationship between two entities -student andclass. Here cardinal

Functional requirement for a library management system, Write down the func...

Write down the functional requirement for a Library management system. The user should capable to search either all of the primary set of databases or select a subset of dat

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

Waterfall model is more advantageous than adhoc methods, Explain why waterf...

Explain why waterfall model is more advantageous than adhoc methods.      Ad-hoc Process Models- "Process capability is unpredictable due to the software process is constantly

What is error guessing, Explain Error guessing? Ans) Test data selection...

Explain Error guessing? Ans) Test data selection method. The selection criterion is to pick values that seem likely to reason errors.

Software management, i have coursework on software management and dont know...

i have coursework on software management and dont know how to go about it. I want to find out if you will be able to help me on that. The task is to investgate(research informed pa

What is operational requirements, What is Operational Requirements? Ans)...

What is Operational Requirements? Ans) Qualitative and quantitative parameters that states the desired operational capabilities of a system and serve as a basis for determining

Explain fan in and fan-out, Fan in/Fan-out :- Fan-in is a measure of th...

Fan in/Fan-out :- Fan-in is a measure of the number of process or functions that call some other function or process (say X). Fan-out is the number of functions that are known

Explain different type of testing tools, Q. Explain different type of testi...

Q. Explain different type of testing tools? (a) Test Case Generators: These tools produce test cases from SRS program or test design languages. They utilize certain rules cal

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