aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/insn.rs')
-rw-r--r--src/insn.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/insn.rs b/src/insn.rs
index 2f80d3d..8c2215c 100644
--- a/src/insn.rs
+++ b/src/insn.rs
@@ -30,6 +30,7 @@ pub trait Call<T> {
fn call(&mut self, op1: T);
}
+/// Trait for [`cmovnz`](https://www.felixcloutier.com/x86/cmovcc) instruction kinds.
pub trait Cmovnz<T, U> {
/// Emit a (conditional) move if not zero instruction.
///
@@ -37,6 +38,7 @@ pub trait Cmovnz<T, U> {
fn cmovnz(&mut self, op1: T, op2: U);
}
+/// Trait for [`cmovz`](https://www.felixcloutier.com/x86/cmovcc) instruction kinds.
pub trait Cmovz<T, U> {
/// Emit a (conditional) move if zero instruction.
///