{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw3 - having the value 0x56781234 5 What affect does each...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 332 Homework 3 Spring 2010 Due: Fri. 02/05/2010 Page 1 of 1 For the following problem’s you must show your work for full credit. 1. What is the content of r0 after executing the following instruction? addi r0, r9, 4 2. What instruction when executed will result in the ones complement of a register? Show usage of instruction with contents of registers utilized. (Partial credit for multiple instructions). 3. If r4 = 0x12345678, then show the contents (in hex) of r3 after the following instruction is executed. srli r3, r4, 14 4. If r4 = 0x12345678, show the instruction and its usage that will result in register r2
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: having the value 0x56781234. 5. What affect does each RR category of instruction have on the PC? 6. What is the Nios II machine instruction that will cause the processor to become locked in an infinite one instruction loop? 7. Is there a way for a program to get access to the PC register? If so, demonstrate. 8. Is there another instruction that can be made into a nop instruction? If so, show the machine instruction and the assembly language version....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online