From 130746bc856f5c2eb5672cceb0e1304ee2c95b1e Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 28 Feb 2024 18:32:44 +0000 Subject: deploy: 7cc72737a0140f5f71e9d83d4f87503eb4c7604f --- src/juicebox_asm/insn/add.rs.html | 3 ++- src/juicebox_asm/insn/call.rs.html | 3 ++- src/juicebox_asm/insn/cmp.rs.html | 3 ++- src/juicebox_asm/insn/dec.rs.html | 3 ++- src/juicebox_asm/insn/jmp.rs.html | 3 ++- src/juicebox_asm/insn/jnz.rs.html | 3 ++- src/juicebox_asm/insn/jz.rs.html | 3 ++- src/juicebox_asm/insn/mov.rs.html | 3 ++- src/juicebox_asm/insn/nop.rs.html | 3 ++- src/juicebox_asm/insn/pop.rs.html | 30 ++++++++++++++++++++++++++++++ src/juicebox_asm/insn/push.rs.html | 30 ++++++++++++++++++++++++++++++ src/juicebox_asm/insn/ret.rs.html | 3 ++- src/juicebox_asm/insn/test.rs.html | 3 ++- 13 files changed, 82 insertions(+), 11 deletions(-) create mode 100644 src/juicebox_asm/insn/pop.rs.html create mode 100644 src/juicebox_asm/insn/push.rs.html (limited to 'src/juicebox_asm/insn') diff --git a/src/juicebox_asm/insn/add.rs.html b/src/juicebox_asm/insn/add.rs.html index d7d8c39..a6ac132 100644 --- a/src/juicebox_asm/insn/add.rs.html +++ b/src/juicebox_asm/insn/add.rs.html @@ -1,4 +1,5 @@ -add.rs - source
1
+add.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/call.rs.html b/src/juicebox_asm/insn/call.rs.html
index e88996d..3a70194 100644
--- a/src/juicebox_asm/insn/call.rs.html
+++ b/src/juicebox_asm/insn/call.rs.html
@@ -1,4 +1,5 @@
-call.rs - source
1
+call.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/cmp.rs.html b/src/juicebox_asm/insn/cmp.rs.html
index 4e28818..c8bcee2 100644
--- a/src/juicebox_asm/insn/cmp.rs.html
+++ b/src/juicebox_asm/insn/cmp.rs.html
@@ -1,4 +1,5 @@
-cmp.rs - source
1
+cmp.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/dec.rs.html b/src/juicebox_asm/insn/dec.rs.html
index 5a10063..1eed3b2 100644
--- a/src/juicebox_asm/insn/dec.rs.html
+++ b/src/juicebox_asm/insn/dec.rs.html
@@ -1,4 +1,5 @@
-dec.rs - source
1
+dec.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/jmp.rs.html b/src/juicebox_asm/insn/jmp.rs.html
index e0167e3..88f3066 100644
--- a/src/juicebox_asm/insn/jmp.rs.html
+++ b/src/juicebox_asm/insn/jmp.rs.html
@@ -1,4 +1,5 @@
-jmp.rs - source
1
+jmp.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/jnz.rs.html b/src/juicebox_asm/insn/jnz.rs.html
index be0062d..40ae96c 100644
--- a/src/juicebox_asm/insn/jnz.rs.html
+++ b/src/juicebox_asm/insn/jnz.rs.html
@@ -1,4 +1,5 @@
-jnz.rs - source
1
+jnz.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/jz.rs.html b/src/juicebox_asm/insn/jz.rs.html
index e4197af..9a44a21 100644
--- a/src/juicebox_asm/insn/jz.rs.html
+++ b/src/juicebox_asm/insn/jz.rs.html
@@ -1,4 +1,5 @@
-jz.rs - source
1
+jz.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/mov.rs.html b/src/juicebox_asm/insn/mov.rs.html
index 1e672a1..6d6e6e7 100644
--- a/src/juicebox_asm/insn/mov.rs.html
+++ b/src/juicebox_asm/insn/mov.rs.html
@@ -1,4 +1,5 @@
-mov.rs - source
1
+mov.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/nop.rs.html b/src/juicebox_asm/insn/nop.rs.html
index c3c264b..34afd35 100644
--- a/src/juicebox_asm/insn/nop.rs.html
+++ b/src/juicebox_asm/insn/nop.rs.html
@@ -1,4 +1,5 @@
-nop.rs - source
1
+nop.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/pop.rs.html b/src/juicebox_asm/insn/pop.rs.html
new file mode 100644
index 0000000..0852511
--- /dev/null
+++ b/src/juicebox_asm/insn/pop.rs.html
@@ -0,0 +1,30 @@
+pop.rs - source
+    
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+
use super::Pop;
+use crate::{Asm, Reg16, Reg64};
+
+impl Pop<Reg64> for Asm {
+    fn pop(&mut self, op1: Reg64) {
+        self.encode_r(0x8f, 0x0, op1);
+    }
+}
+
+impl Pop<Reg16> for Asm {
+    fn pop(&mut self, op1: Reg16) {
+        self.encode_r(0x8f, 0x0, op1);
+    }
+}
+
\ No newline at end of file diff --git a/src/juicebox_asm/insn/push.rs.html b/src/juicebox_asm/insn/push.rs.html new file mode 100644 index 0000000..e947e8b --- /dev/null +++ b/src/juicebox_asm/insn/push.rs.html @@ -0,0 +1,30 @@ +push.rs - source +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+
use super::Push;
+use crate::{Asm, Reg16, Reg64};
+
+impl Push<Reg64> for Asm {
+    fn push(&mut self, op1: Reg64) {
+        self.encode_r(0xff, 0x6, op1);
+    }
+}
+
+impl Push<Reg16> for Asm {
+    fn push(&mut self, op1: Reg16) {
+        self.encode_r(0xff, 0x6, op1);
+    }
+}
+
\ No newline at end of file diff --git a/src/juicebox_asm/insn/ret.rs.html b/src/juicebox_asm/insn/ret.rs.html index 26e3a47..bc88856 100644 --- a/src/juicebox_asm/insn/ret.rs.html +++ b/src/juicebox_asm/insn/ret.rs.html @@ -1,4 +1,5 @@ -ret.rs - source
1
+ret.rs - source
+    
1
 2
 3
 4
diff --git a/src/juicebox_asm/insn/test.rs.html b/src/juicebox_asm/insn/test.rs.html
index 0f1d8da..6a0372d 100644
--- a/src/juicebox_asm/insn/test.rs.html
+++ b/src/juicebox_asm/insn/test.rs.html
@@ -1,4 +1,5 @@
-test.rs - source
1
+test.rs - source
+    
1
 2
 3
 4
-- 
cgit v1.2.3