[prev] 15 [next]

Exercise 4: Implementing Disjunctions

Implement the following in MIPS assembler

if (x != 0 || y != 0 || x > y)
   { statements1; }
else
   { statements2; }

Assume that x and y are labels defined in .data