pub struct andw_i<R>where
R: Registers,{
pub ax: Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>,
pub imm16: Imm16,
}Expand description
andw: I(ax[rw], imm16) => 0x66 + 0x25 iw [_64b | compat] // /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cranelift-assembler-x64-meta-0.122.0/src/generate/inst.rs:14
Fields§
§ax: Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>§imm16: Imm16Implementations§
Source§impl<R: Registers> andw_i<R>
impl<R: Registers> andw_i<R>
pub fn new( ax: impl Into<Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>>, imm16: impl Into<Imm16>, ) -> Self
pub fn mnemonic(&self) -> Cow<'static, str>
pub fn encode(&self, buf: &mut impl CodeSink)
pub fn visit(&mut self, visitor: &mut impl RegisterVisitor<R>)
pub fn features(&self) -> Vec<Feature>
Trait Implementations§
impl<R> Copy for andw_i<R>
Auto Trait Implementations§
impl<R> Freeze for andw_i<R>
impl<R> RefUnwindSafe for andw_i<R>
impl<R> Send for andw_i<R>
impl<R> Sync for andw_i<R>
impl<R> Unpin for andw_i<R>
impl<R> UnwindSafe for andw_i<R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more