Professional Documents
Culture Documents
Lab 1
Lab 1
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_____________
a__________ b ___________
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.