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

Show the advantages of total quality management, Q. Show the Advantages of ...

Q. Show the Advantages of Total Quality Management? Improves reputation-problems and faults are sorted quicker and spotted (zero defects) Higher employee morale- wo

Encryption models, Please name some of the best (most successful) encryptio...

Please name some of the best (most successful) encryption models for use in the business community. I need to know the benefits and disadvantages of each, as well as the cost effec

Explain in detail about data modeling, Explain in detail about data modelin...

Explain in detail about data modeling Data modeling creates use of the ERD. Having of 3 interrelated information. The data object. Relationships. Attributes

How do we zero down on automation tools, How do we zero down on automation ...

How do we zero down on automation tools for regression testing? Below criteria are used when zeroing down on automation tools for regression testing: - Risk analysis such as

Explain working of code inspectors, Q. Explain working of Code inspectors? ...

Q. Explain working of Code inspectors? Code inspectors A code inspector does a simple job of enforcing standards in a uniform way for many programs. These are able to be sing

Differentiate between failures and faults, Q. Differentiate between failu...

Q. Differentiate between failures and faults? Ans. Failure: -Failure is the disappearance of external results of program operation from requirements. Consequently failure is

Prepare er diagram for the system, a) An ER diagram for the system. Show ...

a) An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein  method

Define evolutionary prototyping, Q. Define Evolutionary prototyping? Ev...

Q. Define Evolutionary prototyping? Evolutionary Prototyping is also known as breadboard prototyping is quite different from Throwaway Prototyping. The major goal when using Ev

What are the advantages and disadvantages of big-bang, What are the advanta...

What are the advantages and disadvantages of big-bang? Advantages: This approach is easy. Disadvantages: It is difficult to debug.It is not easy to isolate errors whereas te

Define software testing, Q. Define software testing. Explain various level ...

Q. Define software testing. Explain various level of testing? Ans: Software testing- It is a process used to help identify the completeness, correctness and quality of develo

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