[理工] [計算機組織]-MIPS語言
Pseudoinstruction what is accomplishes Solution
mov $t5,$t3 $t5=$t3 add $t5,$t3,$zero
clear $t5 $t5=0
li $t5,small $t5=small
li $t5,big $t5=big
lw $t5,big($t3) $t5=Memory[$t3+big]
addi $t5,$t3,big $t5=$t3+big
beq $t5,small,L if($t5=small) go to L
beg $t5,big,L if($t5=big)go to L
ble $t5,$t3,L if($t5<=$t3)go to L
bgt $t5,$t3,L if($t5>$t3) go to L
bge $t5,$t3,L if($t5>=$t3)go to L
Q:for each pseudoinstructions in the following table,produce
a minimal sequence of actural MIPS instructions to accomplish
the same thing. You may need to use $at for some of the sequences
In the following table,big refers to aspecific number that requires 32bits
to respent and small to a number that can be express using 16bits
請問這個題目要你幹嘛= = 參詳了很久不知如何下手
能否大大能講解一下,我想知道他要我們幹嘛
92年成大資工
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.168.60.36
→
09/20 20:32, , 1F
09/20 20:32, 1F
→
09/20 20:35, , 2F
09/20 20:35, 2F
→
09/20 20:42, , 3F
09/20 20:42, 3F
→
09/20 20:43, , 4F
09/20 20:43, 4F
→
09/20 20:48, , 5F
09/20 20:48, 5F
→
09/20 20:49, , 6F
09/20 20:49, 6F
→
09/20 20:50, , 7F
09/20 20:50, 7F
推
09/20 21:04, , 8F
09/20 21:04, 8F
→
09/20 21:06, , 9F
09/20 21:06, 9F