Implement some opcodes