Skip to content

Commit 9abd080

Browse files
authored
Create Division_integers.asm
1 parent 66e74d3 commit 9abd080

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Division_integers.asm

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.data
2+
3+
.text
4+
main:
5+
addi $t0, 5000
6+
addi $t1, 10
7+
8+
li $v0, 1
9+
div $a0, $t0, $t1
10+
syscall
11+
12+
li $v0, 10
13+
syscall
14+
15+
16+
#a0 stores the result of the division

0 commit comments

Comments
 (0)