diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-12-07 23:07:45 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-12-07 23:07:45 +0100 |
commit | fc897ef4d6aca746f61ef7b0b2f815e96ae62380 (patch) | |
tree | d931a1a51e70f1f4d26bb0e09069a8a89526c917 /src/insn | |
parent | f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4 (diff) | |
download | juicebox-asm-fc897ef4d6aca746f61ef7b0b2f815e96ae62380.tar.gz juicebox-asm-fc897ef4d6aca746f61ef7b0b2f815e96ae62380.zip |
insn: update doc
Diffstat (limited to 'src/insn')
-rw-r--r-- | src/insn/nop.rs | 1 | ||||
-rw-r--r-- | src/insn/ret.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/insn/nop.rs b/src/insn/nop.rs index 82057db..f239039 100644 --- a/src/insn/nop.rs +++ b/src/insn/nop.rs @@ -1,6 +1,7 @@ use crate::Asm; impl Asm { + /// Emit a [`nop`](https://www.felixcloutier.com/x86/nop) instruction. pub fn nop(&mut self) { self.emit(&[0x90]); } diff --git a/src/insn/ret.rs b/src/insn/ret.rs index 74086d8..c5af571 100644 --- a/src/insn/ret.rs +++ b/src/insn/ret.rs @@ -1,6 +1,7 @@ use crate::Asm; impl Asm { + /// Emit a [`ret`](https://www.felixcloutier.com/x86/ret) instruction. pub fn ret(&mut self) { self.emit(&[0xc3]); } |