li $s6,268500992
li $s3,3
li $s5,10
li $t0,10
sw $t0, 0($s6)
sw $t0, 4($s6)
sw $t0, 8($s6)
sw $t0, 12($s6)
sw $t0, 16($s6)
sw $t0, 20($s6)
sw $t0, 24($s6)
sw $t0, 28($s6)
li $t0,2
sw $t0, 32($s6)
loop:
sll $t1,$s3,2
add $t1,$t1,$s6
lw $t0,0($t1)
bne $t0,$s5,exit
addi $s3,$s3,1
j loop
exit:
Write your own program using loops to find how many times thesame number (10) is stored in the memory?
Expert Answer
An answer will be send to you shortly. . . . .