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 is path coverage testing, What is Path Coverage Testing? Ans) A tes...

What is Path Coverage Testing? Ans) A test process satisfying coverage criteria that every logical path by the program is tested. Paths through the program often are grouped int

Which phase is not available in software life cycle, Which phase is not ava...

Which phase is not available in software life cycle? Abstraction is the only phase which in not available in software life cycle

Daa, 3. Explain asymptotic notations and their significance

3. Explain asymptotic notations and their significance

what is random testing, What is Random Testing? This is one of process...

What is Random Testing? This is one of process used to exercise a class. It is based on developing a random test series that tries the minimum number of operations typical to th

Define the failure intensity of the basic model, Q Define the failure inten...

Q Define the failure intensity of the Basic model? Ans: The failure intensity of the Basic model is λ (μ) = λ 0 [1 - μ / v 0 ] Where λ 0 is the initial failure inten

Database schema, Question This question refers to the database Schema....

Question This question refers to the database Schema. Express the following queries in SQL: (a) List the First Name, Last Name and telephone number of all employees who wer

What are the types of static testing tools, What are the types of static te...

What are the types of static testing tools? There are three kinds of static testing tools.  Code based testing tools - These tools take source code as input and get test cases.

Define the load address for the first word of the program, Define the Load ...

Define the Load address for the first word of the program is known as Load address origin is called as a Load address for the first word of the program

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

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