implemented all rotate opcodes