Problem
a) Create a generic pseudo instruction called nandi to nand the content of the registers rs and an immediate field imm. Store the result in rd. Also provide the translation for the assembler to translate the instruction when used.
b) Create a generic pseudo instruction called isEven to find check the content of the registers rs is a even number. Store the "0" in rd if number is even. Also provide the translation for the assembler to translate the instruction when used.
c) Create a generic pseudo instruction called maximum to find the largest of the two registers rs and rt and store the result in rd. Also provide the translation for the assembler to translate the instruction when used.