Question: need 6 diffrent solutions q 1 ph = 60655457 cnic =15619507 ph = 60643439 cnic =13498709 ph=86157669 cnic=56785644 ph = 45678824 cnic =30448663 ph =
need 6 diffrent solutions
q 1 ph = 60655457
cnic =15619507
ph = 60643439
cnic =13498709
ph=86157669 cnic=56785644
ph = 45678824
cnic =30448663
ph = 68153267 cnic=07902324
Phone no 65854321 Cnic no 24777159
1. State the value (in hexadecimal) of $S2 after execution of the following instructions, where $50= last 8 digits of your CNIC number, also mention that: $S1= last 8 digits of your cell phone number, mention that: And instructions are? [15 marks] sll $S2, $50,5 andi $S3,$S1,8 ori $S2, $S2,5 2. Apply multiplication algorithm to 4 bit number i.e. 2ten X 3ten? [15 marks] 3. Illustrate the following C code in MIPS and find hazards in the code and reorder the instructions to avoid pipeline stalls. (10 marks] A=B+E; C=B+A; 4. How many total bits are required for a direct-mapped cache with 8KB of data and 4-words blocks, assuming a 32-bit address? [10 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
