You are on page 1of 1

Computer Architecture and Organization

Laboratory Exercise 1: Number systems and performances

Task 1. Represent the number 29.25 given in decimal numeral system, into a numeral system with a
base of r=2, 8 and 16.

Task 2. Suppose a=001011 and b=101101 are given in RC system (two’s complement).
a. Perform physical (arithmetical) shifting to the left and to the right for two positions.
a<<2______________a>>2_____________ b<<2______________ b>>2_____________

b) What are their decimal values (with a sign)?

a__________ b ___________

c) Calculate a+b and b-a binary and comment the result.

Task 3. Convert the floating point number 29.25 (from exercise 1) according to the IEEE754 standard
with single precision.

Task 4. A processor executes a program in 10 seconds. Find the new execution time, if the clock rate is
increased by 60% and CPI is increased by 25%. Find the new clock rate, if the new CPI is 5 and the
program has 10^9 instructions.

You might also like