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

Project or process, Mentoring a class at a university. is project or proce...

Mentoring a class at a university. is project or process??

State some guidelines for testing, State some guidelines for testing Th...

State some guidelines for testing The below are some guidelines for testing: i)  Test modules thoroughly, cover all the access paths and produce enough data to cover all the

Explain equivalence class partitioning, Explain Equivalence Class Partition...

Explain Equivalence Class Partitioning Equivalence Class Partitioning: It is a method in black box testing. It is designed to decrease the number of test cases by dividing t

What is validation and verification testing, Explain Validation and verific...

Explain Validation and verification testing? Ans) Used as an entity to describe a procedure of review, analysis, and testing all over the software life cycle to discover errors,

Artificial intellegence, can yo do a project on Artificial Intelligence.The...

can yo do a project on Artificial Intelligence.The topic is L-system of flowers

Explain the quality assurance manager and project manager, How do you diffe...

How do you differentiate the roles of Quality Assurance Manager and Project Manager? Quality Assurance Manager (QA Manager) produces the process to be followed at every phase

What is ripple effect, What is ripple effect?       The ripple effect i...

What is ripple effect?       The ripple effect is a term used to describe a situation where, like the ever expanding ripples across water when an object is dropped into it, an

Define software design, Define Software design. Software design is a...

Define Software design. Software design is an iterative process by requirements are translated into a "blue print" for constructing the software. The blue print dep

What is code review, A meeting at which software code is presented to proje...

A meeting at which software code is presented to project personnel, users,  managers,  customers, or other interested parties for approval or comment. Contrast with code audit, cod

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