Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,13 @@
IsLeap: andi $a1, $a0, 3 #a0 is year to test
bnez $a1 NotLeap
li $a1, 100
div $a0, $a1
mfhi $a1
bnez $a1, Leap
mflo $a1
andi $a1, $a1, 3
bnez $a1, NotLeap
Leap: li $v0, 1
jr $ra
NotLeap:li $v0, 0
jr $ra