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

What is lload testing, Load testing is testing an application under heavy l...

Load testing is testing an application under heavy loads, like the testing of a web site under a range of loads to verify at what point the system response time will degrade or fai

Project or process, Mentoring a class at a university. is project or proce...

Mentoring a class at a university. is project or process??

Explain the persistent class maps to one relational table, Explain the pers...

Explain the persistent class maps to one relational table In most of cases, persistent class maps to one relational table (keeping aside inheritance issue, for the moment). In

Software life cycle, A) In terms of maintenance in software life cycle, doe...

A) In terms of maintenance in software life cycle, does RUP or agile approach give  better support? Describe your answer.   B) Explain how agile development approach and RUP

Define equivalence class, Equivalence class: -It shows a set of valid or in...

Equivalence class: -It shows a set of valid or invalid states for input conditions. An input condition is either a particular numeric value, a range of values, a set of related val

Write about drivers and stubs, Write about drivers and stubs. Drivers a...

Write about drivers and stubs. Drivers and stub software require to be developed to test incompatible software. The " driver" is a program that accepts the test data and pri

What is version and release management, What is Version and release managem...

What is Version and release management? Invent an identification system for system versions. Plan when a new system version is to be formed. Ensure that version managemen

Define quality control, Explain Quality control This includes checking ...

Explain Quality control This includes checking the software development process to make sure that procedures and standards are being followed. There are two approaches to qu

Advanced software engineering, Is there ever a case when the generic activi...

Is there ever a case when the generic activities of the software engineering process don’t apply?

What are the principles of testing, What are the principles of testing ...

What are the principles of testing Below are some of the principles of testing:  i)  All tests must be performed according to user requirements.  ii)  Planning of tests m

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