.data
array: .space 80
.text
.globl main
main: addu $s0,$ra,$0
lui $s1,0x1001
addi $s2,$s1,80
addi $t0,$0,2
addi $t5,$0,1
sw $t0,0($s1)
addi $s1,$s1,4
loop1: addi $t0,$t0,1
or $t1,$t0,$0
loop2: addi $t1,$t1,-1
slt $t4,$t5,$t1
bne $t4,$0,skip
sw $t0,0($s1)
addi $s1,$s1,4
beq $s1,$s2,exit
j loop1
skip: div $t0,$t1
mfhi $t3
bne $t3,$0,loop2
j loop1
exit: addu $ra, $0, $s0
jr $ra
SQL Performance Dashboard Reports
Há 4 anos
0 comentários:
Enviar um comentário