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

The sequence of testing, The sequence of testing is: a) Unit testing: ...

The sequence of testing is: a) Unit testing: b) Integration testing: Alpha Testing- Beta testing Acceptance Testing

Explain the process of prototyping, Explain the process of Prototyping ...

Explain the process of Prototyping Prototyping is a process which enables developer to create a small model of software. IEEE 610.12 standard defines prototype as a preliminary

What is eva, What is EVA? Earned Value Analysis is a process of perform...

What is EVA? Earned Value Analysis is a process of performing quantitative analysis of the software project. It gives a common value scale for each task of software project. It

Mca, encoded micro instruction vs unecoded micro instruction

encoded micro instruction vs unecoded micro instruction

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

I have a comprehensive question in this course need to solve

Why computer clock synchronization of paramount importance, QUESTION - Time...

QUESTION - Time Synchronization (a) Why is computer clock synchronization of paramount importance? Give 2 business scenarios whereby time accuracy is critical? (b) Computers

Computing fundamentals, Construct an E-R diagram for a department store dat...

Construct an E-R diagram for a department store database. This database contains information about customers, items they order, departments in the store, employees, and suppliers o

Define data dictionary, Define Data Dictionary The data dictionary can ...

Define Data Dictionary The data dictionary can be explained as an organized collection of all the data elements of the system with precise and rigorous definitions so that user

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