Implement several opcodes