@instruction<EOL><INDENT>def CQO(cpu):<DEDENT>
res = Operators.SEXTEND(cpu.RAX, <NUM_LIT:64>, <NUM_LIT>)<EOL>cpu.RAX = Operators.EXTRACT(res, <NUM_LIT:0>, <NUM_LIT:64>)<EOL>cpu.RDX = Operators.EXTRACT(res, <NUM_LIT:64>, <NUM_LIT:64>)<EOL>
RDX:RAX = sign-extend of RAX.