Q6 Solution

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Q6 Solution as PDF for free.

More details

  • Words: 222
  • Pages: 1
Section: TE-C

Roll #

Computer Organization and Architecture TE-D Wednesday, April 18, 2007 QUIZ # 5: Pentium and PowerPC Addressing Modes Max Marks = 20; Max Time: 25 minutes A computer system consists of one Pentium processor, one PowerPC processor and one shared main memory, as shown in the following diagram: Pentium Processor

MAIN Memory

PowerPC Processor

The following Table A shows values for Pentium Registers, Table B shows values for PowerPC registers and Table C shows values for some memory locations. Table A

Table B

Table C

Address PowerP Values 8000 C AF00 Register 1000 BF00 R0 7000 CF00 BR BEFF DF00 L A103 1000 EF00 PC 1000 CR IR fill in the 0001 In the following table please blank cells:

Pentium Register AX B IP SR I

Values

Address

Instruction

A100

MOV AX, [AF00] LWZ R0, [BF00] BR L

A101 A102 A103 A104

A105

Values 4000 2000 3000 4000 4000

Pentium or PowerPC Pentium

Source Addressing Mode Direct

Destination Addressing Mode Register

Source Effective Address AF00

Destination Effective Address AX

Contents of Destination

PowerPC

Direct

Register

BF00

R0

3000

PowerPC

Register

L

PC

A103

Direct

[B]+[SR] = 8000 NA

CF00

4000

[SR]+CF00 = 1000+CF00 = DF00 PC

F00

MOV [CF00],[B] MOV CF00, F00

Pentium

Branch Indirect Base

Pentium

Immediate

Displaceme nt

BR -5

PowerPC

Branch Relative

Register

PC

2000

A100

Related Documents

Q6 Solution
November 2019 9
Q6
October 2019 11
Q6
May 2020 8
Q6 A
July 2020 6
Thonmang(q5-q6)
July 2020 1
Fna Project Q6
November 2019 6