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

Differentiate between application and system software, Question: (a) Di...

Question: (a) Differentiate between application software and system software. (b) Mr. Smith would like to know which type of computer is more appropriate to process the inf

What is incremental analysis, Incremental analysis happens when (partial) a...

Incremental analysis happens when (partial) analysis may be performed on an incomplete product to permit early feedback on the development of that product.

Explain sanity testing, Sanity testing is performed whenever cursory testin...

Sanity testing is performed whenever cursory testing is sufficient to show the application is functioning according to specifications. This level of testing is a subset of regressi

What are task regions in the spiral model, What are task regions in the Spi...

What are task regions in the Spiral model. Customer communication - In this region it is recommended to establish customer communication. Planning - All planning doings are

Explain the term- silktest host and silktest project, Explain the term- Sil...

Explain the term- SilkTest Host and  SilkTest Project SilkTest Host - SilkTest component which manages and executes test scripts. It generally runs on a machine different t

What is function points, A consistent measure of software size based on use...

A consistent measure of software size based on user needs.

What is syntax, 1) The relationship between characters or groups of charact...

1) The relationship between characters or groups of characters independent of their meanings or the manner of their interpretation and use; 2) The formation of expressions in a

Define process maturity, Define process maturity. In recent years there...

Define process maturity. In recent years there has been a important emphasis on process maturity. The Software Engineering Institute. (SEI) has developed a comprehensive model

Data Dictionary, The University needs to develop an online student registra...

The University needs to develop an online student registration system for new CAO entrants. This system will allow new students to enroll in their university course. Each student i

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