feat: Initial commit
This commit is contained in:
19
Laboratorio2/Esercizio4.asm
Normal file
19
Laboratorio2/Esercizio4.asm
Normal file
@@ -0,0 +1,19 @@
|
||||
.text
|
||||
.globl main
|
||||
.ent main
|
||||
main:
|
||||
li $v0, 5
|
||||
syscall
|
||||
move $t1, $v0
|
||||
|
||||
li $v0, 5
|
||||
syscall
|
||||
move $t2, $v0
|
||||
|
||||
add $t1, $t1, $t2
|
||||
sub $t2, $t1, $t2
|
||||
sub $t1, $t1, $t2
|
||||
|
||||
li $v0, 10
|
||||
syscall
|
||||
.end main
|
||||
Reference in New Issue
Block a user