I'm doing my homework and trying to implement ROT47 cipher, i wrote pseudocode and stopped at one thing. Given the following line of pseudocode:
if (32 < code < 80) char = ascii_char(code + 47)
if (79 < code < 127) char = ascii_char(code - 47)
How could it be translated in MIPS? I can imagine how it could be with blt and bgt, but the question here is it possible to make this only with one pseudoinstruction?