1
0
Files
Laboratori-MIPS/Laboratorio2/Esercizio3.asm
2024-03-22 13:53:19 +01:00

18 lines
256 B
NASM

.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