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

Define the process of requirements gathering tools, Define the process of R...

Define the process of Requirements Gathering Tools Requirements gathering is an art. Person who gathers requirements must have knowledge of what and when to gather information

Explain the software scope, Define software scope. The first software p...

Define software scope. The first software project management activity is the determination of software scope. Scope is defined answering the following questions. Context: Wh

List any three characteristics of a good srs, List any three characteristic...

List any three characteristics of a good SRS.   The SRS should be: Correct , Unambiguous, Complete    1. Correct: An SRS is correct iff every requirement stated therein is one

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

Difference between restructuring and forward engineering, Problem 1. Ex...

Problem 1. Explain why the use of a standard high-level language does not guarantee that software will be portable across a range of machines 2. Draw possible data flow diag

Define query language, Define query language? A query is a statement re...

Define query language? A query is a statement requesting the retrieval of information. The portion of DML that includes information retrieval is known as a query language.

Discuss the various strategies of design, Q. Discuss the various strategies...

Q. Discuss the various strategies of design. Which design strategy is most popular and practical? Ans The most commonly utilized software design strategy involved decomposing

Incomplete wrong Lisp code with error, Check mail from for assignment. ...

Check mail from for assignment. Are you kidding with me. What kind of code you sent. Did you even execute before sending. It has error. Either do it as per the assignment or

What is re-engineering, Q. What is RE-ENGINEERING? RE-ENGINEERING :- I...

Q. What is RE-ENGINEERING? RE-ENGINEERING :- It is re-organizing as well as modifying existing system to make them more maintainable. It involves Source code translatio

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