1154038070

1154038070 - Name: Grade: Computer Organization CDA-3103...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Computer Organization CDA-3103 Final Exam Spring 2006 Be lucid and neat. Justify all your answers. 75 mins. Closed book, Closed notes, No calculator. Name: Grade:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Q1. (20 pts) Write a MIPS instruction sequence to convert a word in register $t0 from big-endian byte order to little-endian byte order. The result should end up in $t3 . Comment all lines. Big-Endian: Little-Endian: Byte 0 Byte 1 Byte 2 Byte 3 Byte 3 Byte 2 Byte 1 Byte 0
Background image of page 2
Q2 (20 pts) A single precision floating point number is saved in IEEE-754 format in address X. Without using floating point instructions, write a sequence of MIPS instructions to divide the number at X by 8 and store the result back at X.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Q3 (20 pts.) The instruction mix for a machine A is shown in the following table: Instruction Class Frequency Cycles load store ALU op branch 20% 30% 40% 10% 3 3 2 1 This program runs in 10 seconds on machine A, which has a clock frequency of 1 GHz. You are required to design a machine B that can run this program in 5 seconds by
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

1154038070 - Name: Grade: Computer Organization CDA-3103...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online