Skip to content
Snippets Groups Projects
Commit accb61ae authored by PEREZ-SIERRA ERIC's avatar PEREZ-SIERRA ERIC
Browse files

random.s ajouté

parent 8e6fafa8
Branches
Tags
No related merge requests found
......@@ -5,9 +5,8 @@
# $a1 doit contenir la borne superieure
li $a1, 16 #Here you set $a1 to the max bound.
li $v0, 42 #generates the random number.
syscall
#add $a0, $a0, 100 #Here you add the lowest bound
li $v0, 1 #1 print integer
syscall
li $v0, 1 # 1 pour afficher l'entier trouvé de façon aleatoire
syscall
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment