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

List any three characteristics of a good srs, List any three characteristic...

List any three characteristics of a good SRS.   The SRS should be: Correct , Unambiguous, Complete    1. Correct: An SRS is correct iff every requirement stated therein is one

Define software testing, Define software testing. Software testing is a...

Define software testing. Software testing is a process used to help recognize the correctness, completeness and superiority of developed computer software. With that in mind, t

Explain metric, Explain Metric? Ans) The measure of the extent or degree...

Explain Metric? Ans) The measure of the extent or degree to which a product possesses and exhibits a particular quality, property, or attribute.

Define the quality control, Quality Control Quality control is a method...

Quality Control Quality control is a method in which the product's quality is compared with standards and corrective actions taken if needed. Quality control activities focus o

Explain the length of identifiers, Explain the Length of identifiers L...

Explain the Length of identifiers Length of identifiers :-  This is a measure of the average length of separate identifiers in a program. The longer the identifiers, the more

Explain in detail about system testing, Explain in detail about system test...

Explain in detail about system testing. System testing Stress testing Performance testing Security testing

Why we need restructuring techniques, Q. Why we need restructuring techniqu...

Q. Why we need restructuring techniques? The restructuring helps in maintaining a program in the following ways: (a) Programs have higher excellence better documentation l

Design and run the usability testing, You have been commissioned to design ...

You have been commissioned to design and run the usability testing for an upcoming e-commerce website that will sell computing hardware and software. In this first part of the

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