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

Core architectural concepts and their interrelationships, Question: (a)...

Question: (a) Discuss on the core architectural concepts and their interrelationships. (b) A telecommunications company is looking for a software architect for one its maj

Stats free, system architecture block diagram

system architecture block diagram

Explain smoke testing, Smoke testing It decreases the integration risk....

Smoke testing It decreases the integration risk. Error diagnosis and correction are simplified

Define white box testing, Define White box testing White box testing ...

Define White box testing White box testing method deals with the internal logic and structure of the code. White box testing also called as glass, structural, branches, paths

What is a data object, What is a data object? Data object is a collecti...

What is a data object? Data object is a collection of attributes that act as an aspect, characteristic, quality, or descriptor of the object.

What is parameter, In software QA or software testing, a parameter is an it...

In software QA or software testing, a parameter is an item of information - like a name, number, or selected option - that is approved to a program, by a user or another program. B

State about the normal data - Test data, State about the Normal data- Test...

State about the Normal data- Test data -  This is data which is valid/acceptable and has expected outcomes (for instance, if a date is being input the day must be in the rang

What is change management, What is Change management? Software systems ...

What is Change management? Software systems are subject to continual change requests; From users; From developers; From market forces. Change management is

Test-driven software development, A) What is test-driven software developme...

A) What is test-driven software development? Why test-driven software development is significant in agile development approach?   B) Explain how the following software 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