Answer:
Explanation:
1) Effect on R-type instructions:
log2(128) = 7 [since 128=27]
opcode = 6
rs = 7
rt = 7
rd = 7
shamt = 5
funct = 6
Here all the bits ends up with 2 additional bits. As there are 6 bits for opcode in R-type instruction the size of word is 44.
.2) Effect on I-type Instruction:
log2(128) = 7 [since 128=27]
opcode = 6
rs = 7
rt = 7
immediate = 16
The word size of the I-type instruction is also 44.
3)
The programs will take long time to do the operations if the instruction encoding is long.
It means the format must be larger as the increases are not aligned.
The code will decrease if there are more registers.
Because more registers can hold more information without going to memory.
As this leads to fewer calls to load or store the code will decrease.