From: Jérôme Benoit Date: Fri, 30 Jun 2017 17:26:38 +0000 (+0200) Subject: Some indentation cleanups on the Mastermind game X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=433eeade4c411911028e666e3ecd27f912a94abb;p=TD_IML.git Some indentation cleanups on the Mastermind game Signed-off-by: Jérôme Benoit --- diff --git a/project/mips1.asm b/project/mips1.asm index 690aca8..2cba67e 100644 --- a/project/mips1.asm +++ b/project/mips1.asm @@ -122,7 +122,7 @@ check_input: addi $t5, $t5, -9 bgez $t5, input - la $s2, ($zero) # Same counter + la $s2, ($zero) # Same counter la $s3 ($zero) compare_input: la $t7, input_value @@ -203,6 +203,7 @@ won: syscall j exit + lost: la $a0, newline li $v0, 4 @@ -212,6 +213,7 @@ lost: syscall j exit + exit: li $v0, 10 - syscall \ No newline at end of file + syscall