Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (20 pts) (a) Encode the last two instructions in binary L1: add $3, $7, $6 sub $1, $2, $3 addi $2, $1,8 sw S4,

image text in transcribed
1. (20 pts) (a) Encode the last two instructions in binary L1: add $3, $7, $6 sub $1, $2, $3 addi $2, $1,8 sw S4, 7(S2) (b) Wh at MIPS instruction does each of the following 32-bit binary number represent? 6 2. (10 pts) The following table shows portion of the memory map of a computer. All numbers in the table are in hexadecimal. Address 0x52000040 0x52000041 0x52000042 0x52000043 0x52000044 0x52000045 0x52000046 0x52000047 0x52000048 0x52000049 0x5200004A 0x5200004B Contents (a) What is the result of the following instructions if the computer is a little endian machine? Assume Sa0- 0x52000040 at the beginning. addi St4, $S0, 4 sll St4, St4, 2 add Sa0, Sa0, St4 i.e., Sto (b) Show on the left memory map the result of the following instructions assuming big endian computer, where Ss2-0x 52000044 and Ss1 0x FFESAB70. In order words, the contents of which memory locations will be changed to what values after the following two instructions are executed. 0x5200004C 0x5200004D 0x5200004E 0x5200004F 0x52000050 0x52000051 0x52000052 0x 52000053 AE addi Ss2, Ss2, 8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

Can you be an effective manager and not have a Type A personality?

Answered: 1 week ago

Question

= 2. Explain the concept of a good leader.

Answered: 1 week ago

Question

Learn how to select the appropriate statistical tests

Answered: 1 week ago

Question

How can the Internet be helpful in a job search? (Objective 2)

Answered: 1 week ago