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

Write a short note on structure chart, Q. Write a short note on structure c...

Q. Write a short note on structure chart? Structure Chart is a most important program design technique and shows all components of code in a hierarchical format. Structure

What transform mapping refers, What transform mapping refers? The trans...

What transform mapping refers? The transform mapping is a bundle of design steps applied on the DFD in order to map the transformed flow characteristics into specific architect

Data structure, what do you understand by recursion.explain the simulating ...

what do you understand by recursion.explain the simulating recursion in brief.program of fabinacon series by recursion

What are the advantages and disadvantages of big-bang, What are the advanta...

What are the advantages and disadvantages of big-bang? Advantages: This approach is easy. Disadvantages: It is hard to debug. It is not simple to isolate errors while testin

Software management, i have coursework on software management and dont know...

i have coursework on software management and dont know how to go about it. I want to find out if you will be able to help me on that. The task is to investgate(research informed pa

Calculate capacity of a cluster for this disc, A multiplattered HDD is for...

A multiplattered HDD is formatted into twenty sectors and 16 hundred cylinders. There are eight platters and 16 R/W heads. The total capacity of the disc is 1GB. A cluster of data

Resource usage with reference to software reliability models, Q. Resource u...

Q. Resource usage with reference to software reliability models? Resource usage: It is linearly proportional to implementation time t and mean failures experienced μ. Let Xr

Describe system testing, Q. Describe system testing? Ans. System testi...

Q. Describe system testing? Ans. System testing: System test are designed to validate a completely developed systems with a view to assuring that it meets its requirements

Discuss the design steps of the transform mapping, Discuss the design steps...

Discuss the design steps of the transform mapping. Re-examine the fundamental model. Re-examine and refine the DFD for the software. Determine the DFD has either the

Help me please, #include #include #include void ingresarnotas (float...

#include #include #include void ingresarnotas (float A[120][6], int m, int n) { int i, j; for (i=0; i for (j=0; i { printf ("ingrese

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