repositories
/
TD_IML.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some indentation cleanups on the Mastermind game
[TD_IML.git]
/
project
/
mips1.asm
diff --git
a/project/mips1.asm
b/project/mips1.asm
index 690aca808a2abc420b5a7b08dca485f4d14368b0..2cba67ed05e73922db4a4df3b1991f0150f49f03 100644
(file)
--- a/
project/mips1.asm
+++ b/
project/mips1.asm
@@
-122,7
+122,7
@@
check_input:
addi $t5, $t5, -9
bgez $t5, 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
la $s3 ($zero)
compare_input:
la $t7, input_value
@@
-203,6
+203,7
@@
won:
syscall
j exit
syscall
j exit
+
lost:
la $a0, newline
li $v0, 4
lost:
la $a0, newline
li $v0, 4
@@
-212,6
+213,7
@@
lost:
syscall
j exit
syscall
j exit
+
exit:
li $v0, 10
exit:
li $v0, 10
- syscall
\ No newline at end of file
+ syscall