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 the empirical estimation models, Write short notes on empirical est...

Write short notes on empirical estimation models. Estimation model for computer software uses empirically derived formulas to expect effort as a function of line of codes (LOC)

Define top-down testing, Define top-down testing. System developed star...

Define top-down testing. System developed starting from most general modules. Testing begins from the most general module.

Distinguish between alpha testing and beta testing, Distinguish between alp...

Distinguish between alpha testing and beta testing. Alpha test and Beta test The alpha test is prepared at the developer site. The software is used in a natural setting wi

What is case, What is CASE? CASE tool stands for Computer Aided Softwar...

What is CASE? CASE tool stands for Computer Aided Software Engineering. Computer Aided Software Engineering tools assist software engineering manages and practitioners in each

Explain equivalent size measure software metrics, Q. Explain Equivalent siz...

Q. Explain Equivalent size measure software metrics? Equivalent size measure:- Models makes no distinction between a new software and the portion being reused. The equivalent

Discuss about service oriented architecture, Question : (a) Discuss ab...

Question : (a) Discuss about Service Oriented Architecture (SOA), in terms of key principles, benefits and applicability. Also include examples of applications suitable for

Explain the basic cocomo model, Question: (a) (i) Define the following...

Question: (a) (i) Define the following terms briefly: COCOMO, DSI, FSP, MM, ACT, TDEV, (MM)AM. (ii) State the assumptions underlying the Basic COCOMO model. (b) Suppos

Illustrate partitioning in stepwise refinement, Q. Illustrate Partitioning ...

Q. Illustrate Partitioning in stepwise refinement? Problems are frequently too large and complex to be understood as a whole. Therefore we tend to partition such problems into

Explain the quality assurance, Quality Assurance Quality assurance is a...

Quality Assurance Quality assurance is an activity that establishes and evaluates the processes that produce products. Quality assurance would calculate processes to identify w

Determine the characteristics of software, What are the characteristics of ...

What are the characteristics of Software? Software is engineered or modified; it is not manufactured in the traditional sense. Software is free of wear out. Though the

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