feat: Initial commit
This commit is contained in:
18
Laboratorio2/Esercizio3.asm
Normal file
18
Laboratorio2/Esercizio3.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
.data
|
||||
op1: .byte 150
|
||||
op2: .byte 100
|
||||
|
||||
.text
|
||||
.globl main
|
||||
.ent main
|
||||
main:
|
||||
lb $t1, op1
|
||||
lb $t2, op2
|
||||
add $t1, $t1, $t2
|
||||
move $a0, $t1
|
||||
li $v0, 1
|
||||
syscall
|
||||
|
||||
li $v0, 10
|
||||
syscall
|
||||
.end main
|
||||
Reference in New Issue
Block a user