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

Data dictionary, What is data dictionary entry explain

What is data dictionary entry explain

Show the reasons of current software crisis, Q. Show the Reasons of current...

Q. Show the Reasons of current software crisis? larger problem sizes, increasing skill shortage, and lack of adequate training in software engineering,

What is system simulation, What is System Simulation? Normal 0 ...

What is System Simulation? Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Draw an appropriate use-case model, This case-study describes the requireme...

This case-study describes the requirements of an airline travel agency who want to develop a website to allow customers to make online bookings. The outline requirements are descri

What is failure-directed testing, What is Failure-directed Testing Ans) ...

What is Failure-directed Testing Ans) Testing based on the information of the types of errors made in the earlier period that are likely for the system under test.

State about the software requirements specification, State about the Softwa...

State about the Software Requirements Specification This document is produced as output of requirement analysis.  Requirement analysis involves obtaining a clear and thorough

What is benchmark, What is Benchmark? Ans) A Benchmark is a standard to ...

What is Benchmark? Ans) A Benchmark is a standard to calculate against.

Name the commonly used architectural styles, Name the commonly used archite...

Name the commonly used architectural styles. i. Data centered architecture. ii. Data flow architecture. iii. Call and return architecture.

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