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

Define software process, Define software process. Software process is e...

Define software process. Software process is explained as the structured set of activities that are need to develop the software system.

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 the process of software change, What is meant by software change? ...

What is meant by software change? Software change is termed as the change in nature of software as the requirements of software changes.

What is stepwise refinement, What is stepwise refinement? Stepwise Ref...

What is stepwise refinement? Stepwise Refinement:- Stepwise Refinement is a top-down design method originally proposed by Niklaus Wirth. A program is developed by successively

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

State in detail about the software design, State in detail about the Softwa...

State in detail about the Software design Software design is the core of software engineering process and first of three important technical activities that are design, coding,

What is sdlc , Explain  SDLC ? Ans) SDLC-( software development life cyc...

Explain  SDLC ? Ans) SDLC-( software development life cycle) is an acronym.

Use case realization, Develop a domain model for the Case Study. Express yo...

Develop a domain model for the Case Study. Express your model with a class diagram, showing any inheritance and compositional relationships. For each of the two selected most es

Managing variability, 1.    McM Cog is a supplier of industrial parts.  Mos...

1.    McM Cog is a supplier of industrial parts.  Most orders are received at a call center. The call center currently has 10 phone lines total, i.e., a maximum of 10 callers may b

Class diagram, Explain the compare of class diagram

Explain the compare of class diagram

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