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

Com 101p, Peripheral devices are irrelevant to the computer

Peripheral devices are irrelevant to the computer

SYSTEM ANALAYSIS AND DESIGN , #questionHomes R Us is a group of large depar...

#questionHomes R Us is a group of large department stores who wish to improve the customer service they decide they need a database to capture and store information relating to cus

Post-production design feedback for future designs, Q. Post-production desi...

Q. Post-production design feedback for future designs ? Post-production design feedback for future designs Implementation it is introducing the designed solution into

Discuss about the software maintenance, Discuss about the Software Maintena...

Discuss about the Software Maintenance Maintenance in the normal sense means correcting problems caused by wear and tear though software maintenance is different.  Software is

Explain the throw away prototype, Explain the Throw away prototype I...

Explain the Throw away prototype In this technique, prototype is discarded once its purpose is fulfilled and final system is built from scratch. Prototype is built quickly t

Swot analysis, how to threat into opportunities and weaknesses into streng...

how to threat into opportunities and weaknesses into strength

#use case diagram, #use case diagram for car manufactures by considering bu...

#use case diagram for car manufactures by considering build and price of car as use case#

Developing conventional, a) Describe refactoring in XP practices. Why refac...

a) Describe refactoring in XP practices. Why refactoring is important for making high quality software systems using agile approach?   b) Can agile approach being used in dev

Determine the process of software coding, Determine the process of software...

Determine the process of software Coding The input to coding phase is the SDD document. In this stage, design document is coded according to module specification. This phase t

Rational unified software development process, Problem: (a) Using a di...

Problem: (a) Using a diagram, explain the four central concepts and the four phases of the Rational Unified Software Development Process. (b) Explain with an example what

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