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

State about the data dictionary, State about the Data Dictionary  This...

State about the Data Dictionary  This is another tool of requirement analysis that reduces complexity of DFD. A data dictionary is a catalog of all components of a system. DFD

Advanced buttons and event detection, Question: Advanced Buttons and Ev...

Question: Advanced Buttons and Event Detection. a. With two ways to assign event handlers to buttons, which one do you preferably use and why? on(press) vs. onPress b. Wh

Explain quality control, What is Quality control? This includes checkin...

What is Quality control? This includes checking the software development process to ensure that procedures and standards are being followed. There are two approaches to qual

How can you create the new system, How can you create the new system  S...

How can you create the new system  System is to be computerised. Following will be created: (i)                 All DVD and CD data will be stored on a database   (ii)

Implicit and an explicit conceptual model, What is the difference among an ...

What is the difference among an implicit and an explicit conceptual model?

Define data dictionary, Define Data Dictionary The data dictionary can ...

Define Data Dictionary The data dictionary can be explained as an organized collection of all the data elements of the system with precise and rigorous definitions so that user

What is ripple effect, Q. What is ripple effect? How does it affect the sta...

Q. What is ripple effect? How does it affect the stability of a program? Ans. The ripple effect is a term used to explain a situation where like the ever expanding ripples

What is coupling, What is Coupling? Coupling is the measure of interconn...

What is Coupling? Coupling is the measure of interconnection among modules in a program structure. It depends on the interface complexity among modules.

What are the various categories of software, What are the various categorie...

What are the various categories of software? Application software System software Engineering/Scientific software Web Applications Embedded software Artificial I

Project, hello, i am struggling with my final year project and i dont have ...

hello, i am struggling with my final year project and i dont have that huge amount of time to do it??

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