XOR rd, rs, rt |
nanoMIPS |
XOR |
XOR. Compute logical XOR of registers $rs and $rt, placing the result in register $rt.
nanoMIPS
001000 |
rt |
rs |
rd |
x |
1100010 |
000 |
6 |
5 |
5 |
5 |
1 |
7 |
3 |
010100 |
rt3 |
rs3 |
01 |
0 |
0 |
6 |
3 |
3 |
2 |
1 |
1 |
rt = decode_gpr(rt3, 'gpr3') rs = decode_gpr(rs3, 'gpr3') rd = rt
GPR[rd] = GPR[rs] ^ GPR[rt]
None.