logo

Crowdly

Neka se sljedeća sekvenca instrukcija izvršava u oglednoj MIPS protočnoj struk...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Neka

se sljedeća

sekvenca

instrukcija izvršava u oglednoj MIPS protočnoj

strukturi:

  • sub $t1, $t2, $t3
  • add $t1, $t1, $t3
  •         beq $t1, $t5, lbl
  • addi $t3, $t5, -1
  • sw $t2, 0($t0)
  •         and $t4, $t3, $t1
  • lbl2: sub $t2, $t3, $t4
  • lbl:   addi $t3, $t3, 4
  •         beq $t3, $t8, lbl2
  •         sw $t2, 0($t0)

Ukoliko

je vrijednost registra $t

i=i, koju vrijednost će imati registar $t2 nakon izvršenja sekvence?  Odgovor napisati u decimalnom zapisu.

More questions like this

Want instant access to all verified answers on c2.etf.unsa.ba?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!