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

What do you mean by static analysers, Q. What do you mean by Static analyse...

Q. What do you mean by Static analysers? Static analysers A static analyser operates from a pre-computed database of descriptive information derived from the source text of t

What are the elements of design model, What are the elements of design mode...

What are the elements of design model? i. Data design ii. Architectural design iii. Interface design iv. Component-level design

Types of coupling, Types of coupling are:- A) Data coupling B) Stamp...

Types of coupling are:- A) Data coupling B) Stamp coupling C) Control coupling D) External coupling E)Common coupling F) Content coupling

Define the process of software development, Define the process of Software ...

Define the process of Software development Software development underwent revolutionary changes. Rather than a programming teamin an organisation, full-fledged software compan

Explain dalvik virtual machine, Question 1 Write short notes on (i) Lex...

Question 1 Write short notes on (i) Lexical Analysis (ii) Syntax Analysis (iii) Semantic Analysis 2 Explain various data structures used in Macro Processor Design 3 Descr

What is constructive cost model, Q. What is Constructive Cost Model? CO...

Q. What is Constructive Cost Model? COCOMO model denotes Constructive Cost Model. It is an empirical model basis on project experience. It is well-documented and independent mo

Describe the types of structure charts, Q. Describe the Types of Structure ...

Q. Describe the Types of Structure Charts? Transaction structure it control module calls subordinate modules each of which handles a particular transaction Many afferent

#use case diagram, #use case diagram for car manufactures by considering bu...

#use case diagram for car manufactures by considering build and price of car as use case#

Explain bottom up design, Bottom up design: This design leads to a style o...

Bottom up design: This design leads to a style of design where we decide how to join these modules to give larger ones; to combine those to give even larger ones, and so on, till

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