計算機組織與結構›Ch1 指令集架構(ISA)
第 24 題/共 39 題
◀ CC 24/39
24. MIPS Assembly、Machine Code、Jump
#CC-01-024中MIPS AssemblyMachine CodeJump
題組題幹(本題:第34題,共 3 小題)點擊展開

Given the MIPS code sequence below, if we assume it starts at location 8800 4000h in memory. Which of following statements are true?

8800 4000h:
         add  $t0, $zero, $zero
loop:    beq  $s2, $zero, finish
         add  $t0, $t0, $s1
         sub  $s2, $s2, 1
         j    loop
finish:  sll  $t0, $t0, 2
         add  $v0, $t0, $zero

The MIPS machine code of the j (OP code is 2) in this code sequence is

📄 交大111
跳轉到第題
▤完整推導請見《WH 資工筆記 · 計算機組織與結構》Ch1 指令集架構(ISA)
本章題號 · 21–39 / 39