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

Illustrate the concept of hybrid design, Q. Illustrate the concept of Hybri...

Q. Illustrate the concept of Hybrid design? Hybrid design: Pure top-down or else pure bottom up approaches are often not practical so hybrid approach which combines the above

What is outputs, What is Outputs? Ans) Products, services, or informatio...

What is Outputs? Ans) Products, services, or information supplied to meet end user requirements.

Explain the term - code complete, Explain the term - Code Complete - Ph...

Explain the term - Code Complete - Phase of development where functionality is implemented completely with only bug fixes remaining. - All functions from functional specific

System analysis & design, Describe attributes, properties, and characterist...

Describe attributes, properties, and characteristics of system.

Explain acceptance testing, Testing conducted to verify whether or not a sy...

Testing conducted to verify whether or not a system satisfies its acceptance criteria and to enable the customer to verify whether or not to accept the system. Contrast with testin

Determine the structure of design concepts, Structure of design It ...

Structure of design It allows the decomposition of a large system into smaller, more manageable units with well explained relationships to the other units in a system. N

Explain software measurement, Software measurement Software measuremen...

Software measurement Software measurement is anxious with deriving a numeric value for an attribute of a software product or process. This permits for objective comparisons

Advanced software engineering, Is there ever a case when the generic activi...

Is there ever a case when the generic activities of the software engineering process don’t apply?

List flaws in waterfall model, List flaws in waterfall model. - The big...

List flaws in waterfall model. - The biggest drawback is that you don't test the application logic until very late in development cycle. - Though a detailed system specifica

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