Do the following problems from Chapter 10 (pp. 376-377) of the textbook.
Do the following problems from Chapter 10 (pp. 377-379) of the textbook.
Also, find out the format used to store floating point numbers in either the MIPS R3000 or the Alpha AXP and show how your Social Security number is represented in that format.
Write a program for testing which of the following two loops is really faster on either the MIPS R3000, Alpha AXP, or Intel 80x86 chips.
for (i=0; i<100000; ++i) for (i=0; i<100000; ++i) s = s + A[i] ; A[i] = s + A[i] ;
You may perform this assignments in teams of two, provided that the duo performs the test on more than one CPU.