From 2294180c3778d0fcfa877818e98c420fcd54bb8a Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 5 Dec 2023 22:08:06 +0000 Subject: deploy: 7e98f5def5942969f97f5f015e7fb8417793d132 --- src/juicebox_asm/insn.rs.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/juicebox_asm/insn.rs.html') diff --git a/src/juicebox_asm/insn.rs.html b/src/juicebox_asm/insn.rs.html index 24e26cb..550a4ab 100644 --- a/src/juicebox_asm/insn.rs.html +++ b/src/juicebox_asm/insn.rs.html @@ -1,4 +1,4 @@ -insn.rs - source
1
+insn.rs - source
1
 2
 3
 4
@@ -53,10 +53,17 @@
 53
 54
 55
+56
+57
+58
+59
+60
+61
 
//! Trait definitions of various instructions.
 
 mod add;
 mod call;
+mod cmp;
 mod dec;
 mod jmp;
 mod jnz;
@@ -76,6 +83,11 @@
     fn call(&mut self, op1: T);
 }
 
+pub trait Cmp<T, U> {
+    /// Emit a compare call instruction.
+    fn cmp(&mut self, op1: T, op2: U);
+}
+
 pub trait Dec<T> {
     /// Emit a decrement instruction.
     fn dec(&mut self, op1: T);
-- 
cgit v1.2.3