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 the use of architectural design, What is the use of Architectural d...

What is the use of Architectural design? The Architectural design explains the relationship among major structural elements of the software, the "design patterns" that can be u

What is the need for obtaining ISO 9000 certification, Q. What is the need ...

Q. What is the need for obtaining ISO 9000 certification? The need for obtaining ISO 9000 certification :- Confidence of customers in an organization improves when orga

What do you understand by black box testing, Q. What do you understand by b...

Q. What do you understand by black box testing? Black Box Testing:-Black Box Testing is as well called behavioural testing focuses on the functional requirements of the softwar

Mention some of the notations for requirements specification, Mention some ...

Mention some of the Notations for requirements specification. Structured natural language: Use standard Templates or form. Design description language: Programming langua

Static testing tools and dynamic testing tools, Static testing tools: 1...

Static testing tools: 1. Static analysers   2. Code inspectors  3. Standard Dynamic testing tools   1. Coverage analyzers (execution verifiers)    2. Output co

Explain branch testing, Testing method to satisfy coverage criteria which n...

Testing method to satisfy coverage criteria which need that for each decision point, every possible branch [outcome] be implemented at least once. Contrast with testing, path; test

Test-driven software development, A) What is test-driven software developme...

A) What is test-driven software development? Why test-driven software development is significant in agile development approach?   B) Explain how the following software develo

What is review, What is Review? Ans) A method or meeting during which a ...

What is Review? Ans) A method or meeting during which a work product or set of work products, is shown to project personnel, managers, users, customers, or other interested part

Define the computer based system, Define the computer based system. The...

Define the computer based system. The computer based system can be explained as "a set or an arrangement of elements that are organized to accomplish some predefined goal by pr

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