PRACTICE questions

1. What is the difference between computer architecture and organization. 2. Represent 0.5 and 1.0 using IEEE 754 format. Show their addition in IEEE 754 format. 3. Find the error in the following MIPS code ! .data ! l1: 12 ! ! ! ! ! .code la $t0,l1 lw $s0,0($t0) addi $s0,$s1,1 sw $s1,0($t0)

4. Write MIPS code to initialize a register with 32 bit value. (without lw instruction) 5. refer to Patterson Hennessy 4th ed HP 1.2, 1.3, 1.4, 1.6, 3.1, 3.2, 3.4 6. A designer has designed an ISA with the following specifications ! word size 16 bits ! opcode 8 bits operand address1 4 bits (can be register operand only) ! operand address2 4 bits (can be register operand or immediate)! a. What are the maximum number of operations supported? b. What are the maximum number of registers supported? c. What is the maximum immediate value? d. Assuming MIPS style lw and sw instructions. Is it possible to define a memory range that this ISA can access? (yes/no/data is insufficient)

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.