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

Explain quality control, The operational methods and processes used to achi...

The operational methods and processes used to achieve quality requirements.

What is lload testing, Load testing is testing an application under heavy l...

Load testing is testing an application under heavy loads, like the testing of a web site under a range of loads to verify at what point the system response time will degrade or fai

Decomposed the system into several subsystems, Question: (a) With refe...

Question: (a) With reference to component communication, explain the differences between interface oriented and message oriented communication in terms of communication method

Draw an entity relationship diagram for the case study, Question: (a) ...

Question: (a) Document the information input and output for the events mentioned in the case study on the basis of facts provided. (b) Comment on the fact that barely any

What is software life cycle, Software life cycle starts when a software pro...

Software life cycle starts when a software product is first conceived and ends when it is no longer in use. It contains aspects such as initial concept, requirements analysis, inte

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

Hart Protocol DD files, I am working on DD development project and I am us...

I am working on DD development project and I am using 475 field communicator for testing DD. While development of DD, I tested DD with SDC 625 PC application using HART modem. I h

Discuss about throw-away prototyping, Discuss about Throw-away prototyping ...

Discuss about Throw-away prototyping Objective: The principal aims of this model is to validate or to gain the system requirements. It is developed to minimise requi

What is a real time system, What is a Real time system? Real time syste...

What is a Real time system? Real time system is a software system in which the correct functionalities of the system are dependent upon results formed by the system and the tim

Explain data collection, Data collection A metrics programme should be ...

Data collection A metrics programme should be based on a set of product and process data. Data should be collected immediately (not in retrospect) and, if possible, automati

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