From d3e1eff9593501ff8677b9399e1f0625f415ec78 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 7 Dec 2023 23:53:44 +0000 Subject: deploy: b5aea3fb5fcce31599e3d7397d5413a934132231 --- src/juicebox_asm/insn/add.rs.html | 4 +++- src/juicebox_asm/insn/call.rs.html | 4 +++- src/juicebox_asm/insn/cmp.rs.html | 4 +++- src/juicebox_asm/insn/dec.rs.html | 4 +++- src/juicebox_asm/insn/jmp.rs.html | 4 +++- src/juicebox_asm/insn/jnz.rs.html | 4 +++- src/juicebox_asm/insn/jz.rs.html | 4 +++- src/juicebox_asm/insn/mov.rs.html | 4 +++- src/juicebox_asm/insn/nop.rs.html | 4 +++- src/juicebox_asm/insn/ret.rs.html | 4 +++- src/juicebox_asm/insn/test.rs.html | 4 +++- 11 files changed, 33 insertions(+), 11 deletions(-) (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 d7f968a..d7d8c39 100644 --- a/src/juicebox_asm/insn/add.rs.html +++ b/src/juicebox_asm/insn/add.rs.html @@ -23,7 +23,9 @@ 23 24 25 -
use crate::prelude::*;
+26
+
use super::Add;
+use crate::{Asm, Imm16, MemOp, Reg16, Reg32, Reg64};
 
 impl Add<Reg64, Reg64> for Asm {
     fn add(&mut self, op1: Reg64, op2: Reg64) {
diff --git a/src/juicebox_asm/insn/call.rs.html b/src/juicebox_asm/insn/call.rs.html
index f9649ed..e88996d 100644
--- a/src/juicebox_asm/insn/call.rs.html
+++ b/src/juicebox_asm/insn/call.rs.html
@@ -5,7 +5,9 @@
 5
 6
 7
-
use crate::prelude::*;
+8
+
use super::Call;
+use crate::{Asm, Reg64};
 
 impl Call<Reg64> for Asm {
     fn call(&mut self, op1: Reg64) {
diff --git a/src/juicebox_asm/insn/cmp.rs.html b/src/juicebox_asm/insn/cmp.rs.html
index b50d90d..4e28818 100644
--- a/src/juicebox_asm/insn/cmp.rs.html
+++ b/src/juicebox_asm/insn/cmp.rs.html
@@ -5,7 +5,9 @@
 5
 6
 7
-
use crate::prelude::*;
+8
+
use super::Cmp;
+use crate::{Asm, Imm16, MemOp};
 
 impl Cmp<MemOp, Imm16> for Asm {
     fn cmp(&mut self, op1: MemOp, op2: Imm16) {
diff --git a/src/juicebox_asm/insn/dec.rs.html b/src/juicebox_asm/insn/dec.rs.html
index 2afecd2..5a10063 100644
--- a/src/juicebox_asm/insn/dec.rs.html
+++ b/src/juicebox_asm/insn/dec.rs.html
@@ -11,7 +11,9 @@
 11
 12
 13
-
use crate::prelude::*;
+14
+
use super::Dec;
+use crate::{Asm, Reg32, Reg64};
 
 impl Dec<Reg64> for Asm {
     fn dec(&mut self, op1: Reg64) {
diff --git a/src/juicebox_asm/insn/jmp.rs.html b/src/juicebox_asm/insn/jmp.rs.html
index 55da0e3..e0167e3 100644
--- a/src/juicebox_asm/insn/jmp.rs.html
+++ b/src/juicebox_asm/insn/jmp.rs.html
@@ -5,7 +5,9 @@
 5
 6
 7
-
use crate::prelude::*;
+8
+
use super::Jmp;
+use crate::{Asm, Label};
 
 impl Jmp<&mut Label> for Asm {
     fn jmp(&mut self, op1: &mut Label) {
diff --git a/src/juicebox_asm/insn/jnz.rs.html b/src/juicebox_asm/insn/jnz.rs.html
index 45fb92d..be0062d 100644
--- a/src/juicebox_asm/insn/jnz.rs.html
+++ b/src/juicebox_asm/insn/jnz.rs.html
@@ -5,7 +5,9 @@
 5
 6
 7
-
use crate::prelude::*;
+8
+
use super::Jnz;
+use crate::{Asm, Label};
 
 impl Jnz<&mut Label> for Asm {
     fn jnz(&mut self, op1: &mut Label) {
diff --git a/src/juicebox_asm/insn/jz.rs.html b/src/juicebox_asm/insn/jz.rs.html
index 4b17a71..e4197af 100644
--- a/src/juicebox_asm/insn/jz.rs.html
+++ b/src/juicebox_asm/insn/jz.rs.html
@@ -5,7 +5,9 @@
 5
 6
 7
-
use crate::prelude::*;
+8
+
use super::Jz;
+use crate::{Asm, Label};
 
 impl Jz<&mut Label> for Asm {
     fn jz(&mut self, op1: &mut Label) {
diff --git a/src/juicebox_asm/insn/mov.rs.html b/src/juicebox_asm/insn/mov.rs.html
index 7be5d09..1e672a1 100644
--- a/src/juicebox_asm/insn/mov.rs.html
+++ b/src/juicebox_asm/insn/mov.rs.html
@@ -111,7 +111,9 @@
 111
 112
 113
-
use crate::prelude::*;
+114
+
use super::Mov;
+use crate::{Asm, Imm16, Imm32, Imm64, Imm8, MemOp, Reg16, Reg32, Reg64, Reg8};
 
 // -- MOV : reg reg
 
diff --git a/src/juicebox_asm/insn/nop.rs.html b/src/juicebox_asm/insn/nop.rs.html
index accc13a..c3c264b 100644
--- a/src/juicebox_asm/insn/nop.rs.html
+++ b/src/juicebox_asm/insn/nop.rs.html
@@ -5,10 +5,12 @@
 5
 6
 7
+8
 
use crate::Asm;
 
 impl Asm {
-    pub fn nop(&mut self) {
+    /// Emit a [`nop`](https://www.felixcloutier.com/x86/nop) instruction.
+    pub fn nop(&mut self) {
         self.emit(&[0x90]);
     }
 }
diff --git a/src/juicebox_asm/insn/ret.rs.html b/src/juicebox_asm/insn/ret.rs.html
index 97070e8..26e3a47 100644
--- a/src/juicebox_asm/insn/ret.rs.html
+++ b/src/juicebox_asm/insn/ret.rs.html
@@ -5,10 +5,12 @@
 5
 6
 7
+8
 
use crate::Asm;
 
 impl Asm {
-    pub fn ret(&mut self) {
+    /// Emit a [`ret`](https://www.felixcloutier.com/x86/ret) instruction.
+    pub fn ret(&mut self) {
         self.emit(&[0xc3]);
     }
 }
diff --git a/src/juicebox_asm/insn/test.rs.html b/src/juicebox_asm/insn/test.rs.html
index d636920..0f1d8da 100644
--- a/src/juicebox_asm/insn/test.rs.html
+++ b/src/juicebox_asm/insn/test.rs.html
@@ -17,7 +17,9 @@
 17
 18
 19
-
use crate::prelude::*;
+20
+
use super::Test;
+use crate::{Asm, Imm16, MemOp, Reg32, Reg64};
 
 impl Test<Reg64, Reg64> for Asm {
     fn test(&mut self, op1: Reg64, op2: Reg64) {
-- 
cgit v1.2.3