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 normal data - Test data, State about the Normal data- Test...

State about the Normal data- Test data -  This is data which is valid/acceptable and has expected outcomes (for instance, if a date is being input the day must be in the rang

What are the benefits of horizontal partitioning, What are the benefits of ...

What are the benefits of horizontal partitioning? i. Software that is simple to test. ii. Software that is simpler to maintain. iii. Propagation of fewer side effects.

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

Calculate the information flow index of individual modules, Q. For the stru...

Q. For the structural chart given in fig.1 calculate the Information Flow index of individual modules as well as whole software. Total information flow = IF (main) + IF (A

What is software architecture, What is software architecture The softwa...

What is software architecture The software architecture of a program or computing system is the structure or structures of the system, which comprises software components, the

Functional requirement for a library management system, Write down the func...

Write down the functional requirement for a Library management system. The user should capable to search either all of the primary set of databases or select a subset of dat

List out the activities of linear sequential model, List out the activities...

List out the activities of Linear Sequential Model. Software requirement analysis determines the nature of the problem, function, information domain etc. Design - Translates

Explain about the incremental model, Explain about the incremental model. ...

Explain about the incremental model. Have same phases as the waterfall model. Phases are Analysis. Design. Code. Test. Incremental model deliver

Introduction to software testing, Derive input space partitioning tests for...

Derive input space partitioning tests for the BoundedQueue class with the following signature:

What is the advantages of iterative model, What is the advantages of Iterat...

What is the advantages of Iterative model This model is useful when less manpower is available for software development and release deadlines are tight. It's best suited for in

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