Skip to content
Snippets Groups Projects
Commit c88ec3e4 authored by Strozzi's avatar Strozzi
Browse files

sum to latex

parent 6f190f18
No related branches found
No related tags found
No related merge requests found
Pipeline #
# li $t1, 1
# li $t4, 2
# li $t0, 1
# li $t5, 6
# la $a0, xffff0000
for: beq $t4,$t5,fimfor
add $t1, $t1, $t4
sw $t1, 0($a0)
add $t4, $t4, $t0
j for
sw $t0, 0($a0)
fimfor: sw $t1, 0($a0)
lw $t1 0($a0)
sw $t1 0($a0)
# li $t1, 1
# li $t4, 2
# li $t0, 1
# li $t5, 6
# la $a0, 0x10010000
for: beq $t4,$t5,end
add $t1, $t1, $t4
sw $t1, 0($a0)
add $t4, $t4, $t0
j for
sw $t0, 0($a0)
end: sw $t1, 0($a0)
lw $t1 0($a0)
sw $t1 0($a0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment