sextl8 - 2024.2 English

MicroBlaze Processor Reference Guide (UG984)

Document ID
UG984
Release Date
2024-11-27
Version
2024.2 English
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