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

Explain rad model, RAD Model Rapid Application Development Model is ...

RAD Model Rapid Application Development Model is the method of incremental model. Achieves the high speed development using component based construction. Phases

Explain the idea behind albrecht''s function points measure, Question: ...

Question: (a) Consider that every software failure can be classified as either • Syntactic, • Semantic, • System crash. Suppose additionally that every system crash fa

Explain regression testing, Question 1 Explain Iterative Development Model...

Question 1 Explain Iterative Development Model in detail Question 2 What is statistical testing? What are the steps involved in statistical Testing Question 3 Explain wh

Compare the productivity and difficulty, Q. Compare the Productivity and di...

Q. Compare the Productivity and difficulty? Productivity refers to metrics as well as measures of output from production processes per unit of input. Productivity P perhaps c

What is a variant, What is a variant Ans) "Variants" are versions of a p...

What is a variant Ans) "Variants" are versions of a program.

Explain length of code - software metrices, Explain Length of code This...

Explain Length of code This is a measure of the size of a program. Usually, the larger the size of the code of a component, the more difficult and error-prone that component is

Pros and cons of adding audio directly to the timeline, Question: Audio...

Question: Audio and Video Integration in Flash MX 2004 Professional. What sound formats does Flash MX 2004 support? (incl. if you have Quicktime or later installed on your comp

What are the problems of prototyping, What are the Problems of Prototyping ...

What are the Problems of Prototyping  In some organisations, theprototyping isn't as successful as anticipated. A common problem with this approach is that people expect much

What are documentation standards, What are Documentation standards? P...

What are Documentation standards? Particularly important - documents are the tangible manifestation of the software. Documentation process standards Concerned with how

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