cqto

Convert Quadword to Octoword

CQTO

Sign-extends RAX into RDX:RAX (also CQO).

Details

The Convert Quadword to Octoword instruction sign-extends RAX into RDX:RAX (also CQO).

Pseudocode Operation

// Sign-extends RAX into RDX:RAX (also CQO)

Example

CQTO

Encoding

Binary Layout
48
+0
99
+1
 
Format Legacy
Opcode 48 99
Extension Base (64-bit)

Operands