1// SPDX-License-Identifier: MIT 2// 3// Copyright (c) 2023, Johannes Stoelp <dev@memzero.de> 4 5use crate::Asm; 6 7impl Asm { 8 /// Emit a [`nop`](https://www.felixcloutier.com/x86/nop) instruction. 9 pub fn nop(&mut self) { 10 self.emit(&[0x90]); 11 } 12}