Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Please answer fast, thanks. image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started