pub trait SltEmitter<T0, T1, T2> {
// Required method
fn slt(&mut self, rd: T0, rs1: T1, rs2: T2);
}Expand description
Set on less than
Places the value 1 in register rd if register rs1 is less than the value in register rs2, where
both sources are treated as signed numbers, else 0 is written to rd.
§Forms
Assembly: slt xd, xs1, rs2
Rust: slt(rd, rs1, rs2)
§Arguments
rd— Destination register.rs1— Source register.rs2— Source register.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".