Added setreg opcode