From 325195280ca47dde8bc04e38767895718c876299 Mon Sep 17 00:00:00 2001 From: Marcus Medeiros <39343824+MarcusMedeiros99@users.noreply.github.com> Date: Sat, 25 Apr 2020 19:16:54 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20de=20print=5Fresult?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ao fim de print_result, faltava um jump para a main --- main.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.asm b/main.asm index 5509472..ec782db 100644 --- a/main.asm +++ b/main.asm @@ -131,7 +131,8 @@ print_result: add $a0, $v0, $zero addi $v0, $zero, 1 syscall - + + j main invalid_op: #tratamento de opções inválidas la $a0, error @@ -144,4 +145,4 @@ invalid_op: quit: #fim do programa addi $v0, $zero, 10 - syscall \ No newline at end of file + syscall