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

Important factors related to library storage operation, Important factors r...

Important factors related to library storage operation: It is essential to consider some important factors related to library and information storage and retrieval operations

What is dma data transfer, DMA data transfer The position of the DMA co...

DMA data transfer The position of the DMA controller between the other components in a computer system. The CPU communicates with the DMA by the  address and data buses as with

What is stress testing and performance testing, What is stress testing and ...

What is stress testing and performance testing? A stress testing executes a system in a way that demands resources in abnormal quantity, volume or frequency. Performance te

Show the advantages of re-engineering, Q. Show the Advantages of Re-Enginee...

Q. Show the Advantages of Re-Engineering? 1) Reduced risk - there is a elevated risk in new software development. There possibly staffing problems, development problems and spe

Explain structure-based testing techniques, Explain Structure-based testing...

Explain Structure-based testing techniques - Structure-based testing methods are also termed as white-box testing techniques. - These are dynamic methods. - They use the

Explain the limitations of testing, Q. Explain the limitations of testing? ...

Q. Explain the limitations of testing? Ans: Though testing is an significant part of system development and leads to a verified, valid and efficient system it as well faces s

Explain debugging, The act of attempting to verify the cause of the symptom...

The act of attempting to verify the cause of the symptoms of malfunctions noticed by testing or by frenzied user complaints.

Illustrate partitioning in stepwise refinement, Q. Illustrate Partitioning ...

Q. Illustrate Partitioning in stepwise refinement? Problems are frequently too large and complex to be understood as a whole. Therefore we tend to partition such problems into

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