Skip to main content

SrlEmitter

Trait SrlEmitter 

Source
pub trait SrlEmitter<T0, T1, T2> {
    // Required method
    fn srl(&mut self, rd: T0, rs1: T1, rs2: T2);
}
Expand description

Shift right logical

Logical shift the value in rs1 right by the value in the lower bits of rs2, and store the result in rd.

§Forms

Assembly: srl xd, xs1, xs2 Rust: srl(rd, rs1, rs2)

§Arguments

  • rd — Destination register.
  • rs1 — Source register.
  • rs2 — Source register.

Required Methods§

Source

fn srl(&mut self, rd: T0, rs1: T1, rs2: T2)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§