aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/insn/nop.rs
blob: f2390394a2afa341e65ee4138d36375b67591044 (plain) (tree)
1
2
3
4
5
6
7
8


               
                                                                          



                           
use crate::Asm;

impl Asm {
    /// Emit a [`nop`](https://www.felixcloutier.com/x86/nop) instruction.
    pub fn nop(&mut self) {
        self.emit(&[0x90]);
    }
}