0% found this document useful (0 votes)
86 views

Q6 Solution

The document describes a computer system with a Pentium processor, PowerPC processor, and shared main memory. It provides tables of register values for each processor and memory location values. The task is to fill in blank cells in a table describing instructions using various addressing modes on each processor, including the source and destination addresses and effective addresses for each instruction, as well as the contents that will be written to destination addresses.

Uploaded by

api-3801329
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

Q6 Solution

The document describes a computer system with a Pentium processor, PowerPC processor, and shared main memory. It provides tables of register values for each processor and memory location values. The task is to fill in blank cells in a table describing instructions using various addressing modes on each processor, including the source and destination addresses and effective addresses for each instruction, as well as the contents that will be written to destination addresses.

Uploaded by

api-3801329
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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 PowerPC
Processor MAIN Memory 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


Pentium Values PowerP Values Address Values
Register C 8000 4000
AX 1000 Register AF00 2000
B 7000 R0 BF00 3000
IP BR BEFF CF00 4000
SR 1000 L A103 DF00
I 1000 PC EF00 4000
CR
IR fill in the
In the following table please 0001
blank cells:
Address Instruction Pentium Source Destination Source Destination Contents of
or Addressing Addressing Effective Effective Destination
PowerPC Mode Mode Address Address
A100 MOV AX, Pentium Direct Register AF00 AX 2000
[AF00]
A101 LWZ R0, PowerPC Direct Register BF00 R0 3000
[BF00]
A102 BR L PowerPC Branch Register L PC A103
Indirect
A103 MOV Pentium Base Direct [B]+[SR] = CF00 4000
[CF00],[B] 8000
A104 MOV Pentium Immediate Displaceme NA [SR]+CF00 F00
CF00, F00 nt =
1000+CF00
= DF00
A105 BR -5 PowerPC Branch Register PC PC A100
Relative

You might also like