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 key process areas of cmm, Q. Illustrate key process areas of CMM...

Q. Illustrate key process areas of CMM? The key process areas of CMM are 1. Requirements management that establishes a common relationship between the customer and developer

Why is quality assurance difficult in software engineering, Question: (...

Question: (a) Why is quality assurance especially difficult in software engineering ? (b) Inspiring yourself from the McCall's taxonomy of quality attributes, explain five

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

I have a comprehensive question in this course need to solve

What are the testing strategies for conventional software, What are the var...

What are the various testing strategies for conventional software? i. Unit testing ii. Validation testing. iii. Integration testing. iv. System testing.

Explain walk-through, Explain Walk-through? Ans) A walk-through (in soft...

Explain Walk-through? Ans) A walk-through (in software QA) is a casual meeting for evaluation or informational purposes. A walk-through is also a method at an abstract level. It

Explain functional testing, Functional testing is black-box type of testing...

Functional testing is black-box type of testing geared to functional needs of an application. Test engineers *should* do functional testing.

Explain common coupling with example, Q. Explain Common coupling with examp...

Q. Explain Common coupling with example? Common coupling: General coupling is when two modules share the same global data (example a global variable). Changing of the shared

Difference between restructuring and forward engineering, Problem 1. Ex...

Problem 1. Explain why the use of a standard high-level language does not guarantee that software will be portable across a range of machines 2. Draw possible data flow diag

Define traceability, Define Traceability Traceability is the overall...

Define Traceability Traceability is the overall property of requirements specification which reflects the easiness of finding related requirements. Three different parts

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