Question: Please answer fast, thanks. 3. NOTE: Please don't try and cram everything on this page. Usae additional sheets of paper. Put your name, homework 3
3. NOTE: Please don't try and cram everything on this page. Usae additional sheets of paper. Put your name, homework 3 , and the question number at the top of each sheet. You must show your work to get full credit for this question, i.e., you must (at a minimum) a) fill in the appropriate instruction format with the given binary information, b) divide the bits at 4-bit (nibble) boundaries, and c) convert each nibble into its hex representation. Neatness counts here in terms of getting partial credit, so please be careful. (a) (3 pts.) Derive the hex machine code for the dsub r5,r6,r7 instruction. (b) (3 pts.) Derive the hex machine code for the sd r3,8(r5) instruction. (c) (4 pts.) Derive the hex machine code for the bne r6,r8,100p instruction. Assume label loop is 4 words above the bne instruction
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
