Skip to main content

CSextBEmitter

Trait CSextBEmitter 

Source
pub trait CSextBEmitter<T0> {
    // Required method
    fn c_sext_b(&mut self, rd: T0);
}
Expand description

Sign-extend byte, 16-bit encoding

This instruction takes a single source/destination operand. This instruction sign-extends the least-significant byte of the source to XLEN by copying the most-significant bit in the byte (i.e., bit 7) to all of the more-significant bits.

§Forms

Assembly: c.sext.b xd Rust: c_sext_b(rd)

§Arguments

  • rd — Destination/source register.

Required Methods§

Source

fn c_sext_b(&mut self, rd: T0)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§