


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



University of California, Santa Barbara Dept. of Electrical and Computer Engineering ECE154 – Computer Architecture Homework #4 – due Friday, November 9, 2007
Single Cycle Processor
a. (15 points) "Split Register": This instruction would read an operand from $rs and move its lower half to $rd with the upper half set to zero. It would also take the upper half of $rs, shift it right 16 bits (with zero fill), and write it to $rt.
b. (20 points) “Load Word, Variable Offset” lwvo $rd, $rs($rt) would form an address by adding $t1 and $t2, then use that address to read a word from data memory into $t0. Registers $t0, $t1, and $t2 are just examples; the instruction should work with any combination of three GPR's. Briefly explain the changes required to support swvo (store word, variable offset") instruction that added two GPR's to form an address and used a third GPR as a data source.
Multiple Cycle Processor