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

Structure, what is structure and design methodology

what is structure and design methodology

Explain the data flow diagram, Define Data Flow Diagram. A Data flow di...

Define Data Flow Diagram. A Data flow diagram is a graphical description that depicts information flow & the transforms that are applied as data move from input to output. T

What are the important points to do software design, What are the important...

What are the important points to do software design The below points must be kept in mind when performing the design:  i) Practicality: This ensures that system is stable

What are the profits of vertical partitioning, What are the profits of vert...

What are the profits of vertical partitioning? i. These are very easy to maintain changes. ii. They decreased the change impact and error propagation.

What are the characteristics of srs, What are the characteristics of SRS? ...

What are the characteristics of SRS? i. Correct - The SRS should be made up to date when appropriate needs are identified. ii. Unambiguous - When the needs are correctly un

Transaction mapping, how transaction mapping is done.??clear me with a brie...

how transaction mapping is done.??clear me with a brief example

What is reverse engineering, What is reverse engineering?    It is a pr...

What is reverse engineering?    It is a process of examining software with a view to understanding its design and specification. -  In reverse engineering, source code and i

Discuss in brief about iterative waterfall, Discuss iterative waterfall ...

Discuss iterative waterfall Iterative waterfall model a) Requirement collecting  phase in which all requirements are specified. b) The design phase is responsible for cr

List flaws in waterfall model, List flaws in waterfall model. - The big...

List flaws in waterfall model. - The biggest drawback is that you don't test the application logic until very late in development cycle. - Though a detailed system specifica

What is data binding, What is Data Binding?    The matrix that attempts...

What is Data Binding?    The matrix that attempts to capture the module-level concept of coupling is data binding. Data binding are a calculate that captures the data interacti

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