[Solved] mips assembly code to shift the bit programming [closed]
li $t0, 0x10010000 li $t1, student id li $s3, 1 li $s5, 1 add $s0, $t0, $zero add $s1, $t1, $zero loop1 : sw $s1, 0($s0) srl $s2, $s1, 1 slt $s4, $s2, $s3 beq $s4, $s3, L2 addi $s0, $s0, 4 add $s1, $s2, $zero add $s5,$s5,$s3 j loop1 L2 : addi $s0, $s0, … Read more