Standard gate implementation in MIPS Assembly