I'm working on translating a C program to assembly MIPS. I have multiple conditions in a single if-statement. It's if (n == 0 || (n > 0 && n % 10 != 0))
. When this condition is true, it reassign the variable ans
to 0.
This is what I have done so far:
beqz n label1
What should I do when I have multiple conditions?