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

Characteristics of an embedded system, Question: a) Draw a diagram show...

Question: a) Draw a diagram showing the parts of an embedded system. b) Give the definition of an Embedded Computer. c) Discuss the similarities and differences between a

Case study - conference management system, This case study looks at the req...

This case study looks at the requirements for an information system to manage the organisation of an international academic conference. An academic conference consists of presenta

What is defect analysis, What is Defect Analysis? Ans) Using defects as ...

What is Defect Analysis? Ans) Using defects as data for regularly quality improvement. Defect analysis usually to classify defects into categories and recognize possible causes

Explain code inspection, A manual [formal] testing [error detection] method...

A manual [formal] testing [error detection] method where the programmer reads source code, statement by statement, to a group who ask questions determined the program logic, determ

What are the different types of cohesion, What are the different types of C...

What are the different types of Cohesion? i. Coincidentally cohesive -The modules in which the set of tasks are related with each other loosely then such modules are known as

Describe the data abstraction, What does Data abstraction contains? A D...

What does Data abstraction contains? A Data abstraction is a named collection of data that describes a data object Eg: door Attributes: door type, Opening mechanism, Swing d

What is recovery testing and security testing, What is recovery testing and...

What is recovery testing and Security testing  Recovery testing is system tests that bind the software to fail in a variety of ways and justify that recovery is correctly perf

Simulate the operations of a scientific calculator, Q. A program is to be d...

Q. A program is to be developed to simulate the operations of a scientific calculator. List the facilities to be provided by this calculator. Analyze this using DFD? Level 0

White box testing, Determine statement coverage and path coverage

Determine statement coverage and path coverage

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