Sign extends eax into rax, so that a 32 bit signed value read from memory or returned by a syscall can be used in 64 bit arithmetic. It takes no operands and touches no other register. movsxd rax, eax does the same thing in two more bytes.
cdqe
x86-64 and laterConvert Doubleword to Quadword
cdqeLoading...
Forms
Every form of cdqe the assembler accepts.
| Form | Since | Notes |
|---|---|---|
| cdqe | x86-64 | long |