added MOD

This commit is contained in:
Perry Kivolowitz 2023-03-28 22:10:03 -05:00
parent d64aed1012
commit 5b7040c298

View file

@ -148,4 +148,12 @@ main:
.macro AASCIZ label, string
.p2align 2
\label: .asciz "\string"
<<<<<<< HEAD
.endm
.macro MOD src_a, src_b, dest, scratch
sdiv \scratch, \src_a, \src_b
msub \dest, \scratch, \src_b, \src_a
=======
>>>>>>> d64aed10129b1011df2b323fee667ec2a5eeab1b
.endm