# Assume that s0 holds the value 128ten 2131 5 24 for

• 22
• 96% (27) 26 out of 27 people found this document helpful

This preview shows page 8 - 11 out of 22 pages.

2.13 Assume thats0 holds the value 128ten.2.13.1 [5] <§2.4> For the instruction addt0,s0,s1, what is the range(s) of values fors1 that would result in overflow?
t0,s0,s1, what is the range(s) of values fors1 that would result in overflow?2.13.3 [5] <§2.4> For the instruction subt0,s1,s0, what is the range(s) of values fors1 that would result in overflow?
9/28/2016불타는 아잍(IT)스크림9/22opcodersrtrdshamtfunct000000100001000010000000001000002.15 [5] <§§2.4, 2.5> Provide the type and hexadecimal representation of following instruction:swt1, 32(t2)I­type,0xAD490020 (binary :1010 1101 0100 1001 0000 0000 0010 0000)opcodersrtimmediate10101101010010010000 0000 0010 00002.16 [5] <§2.5> Provide the type, assembly language instruction, and binary representation of instruction described by the followingMIPS fields:op=0, rs=3, rt=2, rd=3, shamt=0, funct=34R­type, subv1,v1,v0opcodersrtrdshamtfunct000000000110001000011000001000102.17 [5] <§2.5> Provide the type, assembly language instruction, and binary representation of instruction described by the followingMIPS fields:op=0x23, rs=1, rt=2, const=0x4
9/28/2016불타는 아잍(IT)스크림10/22I­type,lwv0, 4(at)opcodersrtimmediate10001100001000100000 0000 0000 01002.18 [5] <§2.5> Assume that we would like to expand the MIPS register file to 128 registers and expand the instruction set to containfour times as many instructions.2.18.1 [5] <§2.5> How would this affect the size of each of the bit fields in the R­type instructions?2.18.2 [5] <§2.5> How would this affect the size of each of the bit fields in the I­type instructions?2.18.3 [5] <§§2.5, 2.10> How could each of two propose changes decrease the size of an MIPS assembly program? On the other hand,how could the proposed change increase the size of an MIPS assembly program?All bit fields ends up with 2 addtional bits. There are 6 bit fields for R­type so the size of a word is 44.As the word size of R­type above is 44, the word size of I­type is equally 44.// I am sorry to say I don't know a solution for this problem. T_TReferrence :­does­expanding­the­MIPS­register­file­affect­the­size­of­bit­fields