Figure 1. sextl8
Description
This instruction sign-extends a byte (8 bits) into a long (64 bits). Bit 56 in rAL will be copied into bits 0-55 of rDL. Bits 56-63 in rAL will be copied into bits 56-63 of rDL.
Pseudocode
(rDL)[0:55] ← (rAL)[56]
(rDL)[56:63] ← (rAL)[56:63]
Registers Altered
- rDL
Latency
- 1 cycle