ee352_hw3_sol

ee352_hw3_sol - EE 352 Homework 3 Spring '07 Redekopp Name:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EE 352 Homework 3 Spring ’0 7 Redekopp Name: ___ Solutions __________________________________ Due: Thurs. Feb. 7 th Score: ________ Note: Attach all work to receive full credit Processor/Memory Operations 1.) Given the address bus widths of the following processors, state the address space (in bytes) of the processor. Processor Address Bus Width Address Space (in bytes) Intel Pentium 4 36 2 36 = 64 GB Intel 80486 32 2 32 = 4 GB Intel 8086 20 2 20 = 1 MB Pseudo-Instructions 2.) Expand/convert each of the following pseudo-instructions to an actual MIPS instruction sequence (you may use Section A.10 pages A-50 to A-71 of the textbook for a list of instructions. Again you can’t use the ones marked “pseudo - instructions”.) For certain pseudo-instructions you may need to use the $at ($1) register as a temporary value. There may also be multiple ways to accomplish the same pseudo-instruction, try to pick the simplest implementation (i.e. least number of instructions) if it makes sense. Pseudo-Instruction Actual Instruction Seq. 1 li $t0,0x7fffabcd lui _$t0__,__0x7fff___ ori $t0,$t0,0xabcd clear $t0 (i.e. set $t0=0) xor $t0,$t0,$t0 or add $t0,$zero,$zero or sub $t0,$t0,$t0 or and $t0,$t0,$zero or many other forms of these lw $t4, big($t5) (big = 32-bit imm. use big_hi and big_lo to refer to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

ee352_hw3_sol - EE 352 Homework 3 Spring '07 Redekopp Name:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online