From 872cf6d06f4d77637b4627fdc583bab79ee2372f Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 27 Feb 2023 22:52:40 +0000 Subject: deploy: 6486b862edc2750dba83848f62d6c9f3d4c6d3c2 --- juicebox_asm/all.html | 1 + juicebox_asm/enum.MemOp.html | 8 ++++++++ juicebox_asm/imm/struct.Imm16.html | 11 +++++++++++ juicebox_asm/imm/struct.Imm32.html | 11 +++++++++++ juicebox_asm/imm/struct.Imm64.html | 11 +++++++++++ juicebox_asm/imm/struct.Imm8.html | 11 +++++++++++ juicebox_asm/index.html | 1 + juicebox_asm/insn/trait.Add.html | 11 +++++++++++ juicebox_asm/insn/trait.Dec.html | 11 +++++++++++ juicebox_asm/insn/trait.Jmp.html | 11 +++++++++++ juicebox_asm/insn/trait.Jnz.html | 11 +++++++++++ juicebox_asm/insn/trait.Jz.html | 11 +++++++++++ juicebox_asm/insn/trait.Mov.html | 11 +++++++++++ juicebox_asm/insn/trait.Test.html | 11 +++++++++++ juicebox_asm/label/struct.Label.html | 11 +++++++++++ juicebox_asm/prelude/enum.Reg16.html | 24 ++++++++++++++++++++++++ juicebox_asm/prelude/enum.Reg32.html | 24 ++++++++++++++++++++++++ juicebox_asm/prelude/enum.Reg64.html | 24 ++++++++++++++++++++++++ juicebox_asm/prelude/enum.Reg8.html | 28 ++++++++++++++++++++++++++++ juicebox_asm/prelude/index.html | 1 + juicebox_asm/prelude/sidebar-items.js | 1 + juicebox_asm/prelude/struct.Imm16.html | 6 ++++++ juicebox_asm/prelude/struct.Imm32.html | 6 ++++++ juicebox_asm/prelude/struct.Imm64.html | 6 ++++++ juicebox_asm/prelude/struct.Imm8.html | 6 ++++++ juicebox_asm/prelude/struct.Label.html | 20 ++++++++++++++++++++ juicebox_asm/prelude/trait.Add.html | 4 ++++ juicebox_asm/prelude/trait.Dec.html | 4 ++++ juicebox_asm/prelude/trait.Jmp.html | 4 ++++ juicebox_asm/prelude/trait.Jnz.html | 4 ++++ juicebox_asm/prelude/trait.Jz.html | 4 ++++ juicebox_asm/prelude/trait.Mov.html | 4 ++++ juicebox_asm/prelude/trait.Test.html | 6 ++++++ juicebox_asm/reg/enum.Reg16.html | 11 +++++++++++ juicebox_asm/reg/enum.Reg32.html | 11 +++++++++++ juicebox_asm/reg/enum.Reg64.html | 11 +++++++++++ juicebox_asm/reg/enum.Reg8.html | 11 +++++++++++ juicebox_asm/rt/index.html | 1 + juicebox_asm/rt/sidebar-items.js | 1 + juicebox_asm/rt/struct.Runtime.html | 8 ++++++++ juicebox_asm/sidebar-items.js | 1 + juicebox_asm/struct.Asm.html | 7 +++++++ 42 files changed, 380 insertions(+) create mode 100644 juicebox_asm/all.html create mode 100644 juicebox_asm/enum.MemOp.html create mode 100644 juicebox_asm/imm/struct.Imm16.html create mode 100644 juicebox_asm/imm/struct.Imm32.html create mode 100644 juicebox_asm/imm/struct.Imm64.html create mode 100644 juicebox_asm/imm/struct.Imm8.html create mode 100644 juicebox_asm/index.html create mode 100644 juicebox_asm/insn/trait.Add.html create mode 100644 juicebox_asm/insn/trait.Dec.html create mode 100644 juicebox_asm/insn/trait.Jmp.html create mode 100644 juicebox_asm/insn/trait.Jnz.html create mode 100644 juicebox_asm/insn/trait.Jz.html create mode 100644 juicebox_asm/insn/trait.Mov.html create mode 100644 juicebox_asm/insn/trait.Test.html create mode 100644 juicebox_asm/label/struct.Label.html create mode 100644 juicebox_asm/prelude/enum.Reg16.html create mode 100644 juicebox_asm/prelude/enum.Reg32.html create mode 100644 juicebox_asm/prelude/enum.Reg64.html create mode 100644 juicebox_asm/prelude/enum.Reg8.html create mode 100644 juicebox_asm/prelude/index.html create mode 100644 juicebox_asm/prelude/sidebar-items.js create mode 100644 juicebox_asm/prelude/struct.Imm16.html create mode 100644 juicebox_asm/prelude/struct.Imm32.html create mode 100644 juicebox_asm/prelude/struct.Imm64.html create mode 100644 juicebox_asm/prelude/struct.Imm8.html create mode 100644 juicebox_asm/prelude/struct.Label.html create mode 100644 juicebox_asm/prelude/trait.Add.html create mode 100644 juicebox_asm/prelude/trait.Dec.html create mode 100644 juicebox_asm/prelude/trait.Jmp.html create mode 100644 juicebox_asm/prelude/trait.Jnz.html create mode 100644 juicebox_asm/prelude/trait.Jz.html create mode 100644 juicebox_asm/prelude/trait.Mov.html create mode 100644 juicebox_asm/prelude/trait.Test.html create mode 100644 juicebox_asm/reg/enum.Reg16.html create mode 100644 juicebox_asm/reg/enum.Reg32.html create mode 100644 juicebox_asm/reg/enum.Reg64.html create mode 100644 juicebox_asm/reg/enum.Reg8.html create mode 100644 juicebox_asm/rt/index.html create mode 100644 juicebox_asm/rt/sidebar-items.js create mode 100644 juicebox_asm/rt/struct.Runtime.html create mode 100644 juicebox_asm/sidebar-items.js create mode 100644 juicebox_asm/struct.Asm.html (limited to 'juicebox_asm') diff --git a/juicebox_asm/all.html b/juicebox_asm/all.html new file mode 100644 index 0000000..aa7a8df --- /dev/null +++ b/juicebox_asm/all.html @@ -0,0 +1 @@ +List of all items in this crate
\ No newline at end of file diff --git a/juicebox_asm/enum.MemOp.html b/juicebox_asm/enum.MemOp.html new file mode 100644 index 0000000..0ea0a71 --- /dev/null +++ b/juicebox_asm/enum.MemOp.html @@ -0,0 +1,8 @@ +MemOp in juicebox_asm - Rust

Enum juicebox_asm::MemOp

source ·
pub enum MemOp {
+    Indirect(Reg64),
+    IndirectDisp(Reg64i32),
+}

Variants§

§

Indirect(Reg64)

§

IndirectDisp(Reg64i32)

Trait Implementations§

Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/imm/struct.Imm16.html b/juicebox_asm/imm/struct.Imm16.html new file mode 100644 index 0000000..fbefc82 --- /dev/null +++ b/juicebox_asm/imm/struct.Imm16.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/struct.Imm16.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/imm/struct.Imm32.html b/juicebox_asm/imm/struct.Imm32.html new file mode 100644 index 0000000..c310b67 --- /dev/null +++ b/juicebox_asm/imm/struct.Imm32.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/struct.Imm32.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/imm/struct.Imm64.html b/juicebox_asm/imm/struct.Imm64.html new file mode 100644 index 0000000..9a2ebea --- /dev/null +++ b/juicebox_asm/imm/struct.Imm64.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/struct.Imm64.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/imm/struct.Imm8.html b/juicebox_asm/imm/struct.Imm8.html new file mode 100644 index 0000000..bda16d4 --- /dev/null +++ b/juicebox_asm/imm/struct.Imm8.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/struct.Imm8.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/index.html b/juicebox_asm/index.html new file mode 100644 index 0000000..a58f940 --- /dev/null +++ b/juicebox_asm/index.html @@ -0,0 +1 @@ +juicebox_asm - Rust
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Add.html b/juicebox_asm/insn/trait.Add.html new file mode 100644 index 0000000..4dbbe06 --- /dev/null +++ b/juicebox_asm/insn/trait.Add.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Add.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Dec.html b/juicebox_asm/insn/trait.Dec.html new file mode 100644 index 0000000..9a2b82d --- /dev/null +++ b/juicebox_asm/insn/trait.Dec.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Dec.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jmp.html b/juicebox_asm/insn/trait.Jmp.html new file mode 100644 index 0000000..2f3bf40 --- /dev/null +++ b/juicebox_asm/insn/trait.Jmp.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Jmp.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jnz.html b/juicebox_asm/insn/trait.Jnz.html new file mode 100644 index 0000000..7692604 --- /dev/null +++ b/juicebox_asm/insn/trait.Jnz.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Jnz.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jz.html b/juicebox_asm/insn/trait.Jz.html new file mode 100644 index 0000000..05a2555 --- /dev/null +++ b/juicebox_asm/insn/trait.Jz.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Jz.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Mov.html b/juicebox_asm/insn/trait.Mov.html new file mode 100644 index 0000000..fdbd208 --- /dev/null +++ b/juicebox_asm/insn/trait.Mov.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Mov.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Test.html b/juicebox_asm/insn/trait.Test.html new file mode 100644 index 0000000..323461d --- /dev/null +++ b/juicebox_asm/insn/trait.Test.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/trait.Test.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/label/struct.Label.html b/juicebox_asm/label/struct.Label.html new file mode 100644 index 0000000..7f69439 --- /dev/null +++ b/juicebox_asm/label/struct.Label.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/struct.Label.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/prelude/enum.Reg16.html b/juicebox_asm/prelude/enum.Reg16.html new file mode 100644 index 0000000..a51ea1f --- /dev/null +++ b/juicebox_asm/prelude/enum.Reg16.html @@ -0,0 +1,24 @@ +Reg16 in juicebox_asm::prelude - Rust
#[repr(u8)]
+pub enum Reg16 {
+
Show 16 variants ax, + cx, + dx, + bx, + sp, + bp, + si, + di, + r8w, + r9w, + r10w, + r11w, + r12w, + r13w, + r14w, + r15w, +
}
Expand description

General purpose register operands.

+

Variants§

§

ax

§

cx

§

dx

§

bx

§

sp

§

bp

§

si

§

di

§

r8w

§

r9w

§

r10w

§

r11w

§

r12w

§

r13w

§

r14w

§

r15w

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/enum.Reg32.html b/juicebox_asm/prelude/enum.Reg32.html new file mode 100644 index 0000000..8b82fc5 --- /dev/null +++ b/juicebox_asm/prelude/enum.Reg32.html @@ -0,0 +1,24 @@ +Reg32 in juicebox_asm::prelude - Rust
#[repr(u8)]
+pub enum Reg32 {
+
Show 16 variants eax, + ecx, + edx, + ebx, + esp, + ebp, + esi, + edi, + r8d, + r9d, + r10d, + r11d, + r12d, + r13d, + r14d, + r15d, +
}
Expand description

General purpose register operands.

+

Variants§

§

eax

§

ecx

§

edx

§

ebx

§

esp

§

ebp

§

esi

§

edi

§

r8d

§

r9d

§

r10d

§

r11d

§

r12d

§

r13d

§

r14d

§

r15d

Trait Implementations§

Emit an add instruction.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Emit a decrement instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit a logical compare instruction. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/enum.Reg64.html b/juicebox_asm/prelude/enum.Reg64.html new file mode 100644 index 0000000..7dc291f --- /dev/null +++ b/juicebox_asm/prelude/enum.Reg64.html @@ -0,0 +1,24 @@ +Reg64 in juicebox_asm::prelude - Rust
#[repr(u8)]
+pub enum Reg64 {
+
Show 16 variants rax, + rcx, + rdx, + rbx, + rsp, + rbp, + rsi, + rdi, + r8, + r9, + r10, + r11, + r12, + r13, + r14, + r15, +
}
Expand description

General purpose register operands.

+

Variants§

§

rax

§

rcx

§

rdx

§

rbx

§

rsp

§

rbp

§

rsi

§

rdi

§

r8

§

r9

§

r10

§

r11

§

r12

§

r13

§

r14

§

r15

Trait Implementations§

Emit an add instruction.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Emit a decrement instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit a logical compare instruction. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/enum.Reg8.html b/juicebox_asm/prelude/enum.Reg8.html new file mode 100644 index 0000000..40d7cda --- /dev/null +++ b/juicebox_asm/prelude/enum.Reg8.html @@ -0,0 +1,28 @@ +Reg8 in juicebox_asm::prelude - Rust
#[repr(u8)]
+pub enum Reg8 {
+
Show 20 variants al, + cl, + dl, + bl, + spl, + bpl, + sil, + dil, + r8l, + r9l, + r10l, + r11l, + r12l, + r13l, + r14l, + r15l, + ah, + ch, + dh, + bh, +
}
Expand description

General purpose register operands.

+

Variants§

§

al

§

cl

§

dl

§

bl

§

spl

§

bpl

§

sil

§

dil

§

r8l

§

r9l

§

r10l

§

r11l

§

r12l

§

r13l

§

r14l

§

r15l

§

ah

§

ch

§

dh

§

bh

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/index.html b/juicebox_asm/prelude/index.html new file mode 100644 index 0000000..beedf58 --- /dev/null +++ b/juicebox_asm/prelude/index.html @@ -0,0 +1 @@ +juicebox_asm::prelude - Rust

Module juicebox_asm::prelude

source ·

Re-exports

pub use crate::Asm;
pub use crate::MemOp;

Structs

Immediate operand.
Immediate operand.
Immediate operand.
Immediate operand.
A label which is used as target for jump instructions.

Enums

General purpose register operands.
General purpose register operands.
General purpose register operands.
General purpose register operands.

Traits

\ No newline at end of file diff --git a/juicebox_asm/prelude/sidebar-items.js b/juicebox_asm/prelude/sidebar-items.js new file mode 100644 index 0000000..5a5bcf1 --- /dev/null +++ b/juicebox_asm/prelude/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":[["Reg16","General purpose register operands."],["Reg32","General purpose register operands."],["Reg64","General purpose register operands."],["Reg8","General purpose register operands."]],"struct":[["Imm16","Immediate operand."],["Imm32","Immediate operand."],["Imm64","Immediate operand."],["Imm8","Immediate operand."],["Label","A label which is used as target for jump instructions."]],"trait":[["Add",""],["Dec",""],["Jmp",""],["Jnz",""],["Jz",""],["Mov",""],["Test",""]]}; \ No newline at end of file diff --git a/juicebox_asm/prelude/struct.Imm16.html b/juicebox_asm/prelude/struct.Imm16.html new file mode 100644 index 0000000..10d476b --- /dev/null +++ b/juicebox_asm/prelude/struct.Imm16.html @@ -0,0 +1,6 @@ +Imm16 in juicebox_asm::prelude - Rust

Struct juicebox_asm::prelude::Imm16

source ·
pub struct Imm16(_);
Expand description

Immediate operand.

+

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/struct.Imm32.html b/juicebox_asm/prelude/struct.Imm32.html new file mode 100644 index 0000000..cadbf85 --- /dev/null +++ b/juicebox_asm/prelude/struct.Imm32.html @@ -0,0 +1,6 @@ +Imm32 in juicebox_asm::prelude - Rust

Struct juicebox_asm::prelude::Imm32

source ·
pub struct Imm32(_);
Expand description

Immediate operand.

+

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/struct.Imm64.html b/juicebox_asm/prelude/struct.Imm64.html new file mode 100644 index 0000000..2df9f88 --- /dev/null +++ b/juicebox_asm/prelude/struct.Imm64.html @@ -0,0 +1,6 @@ +Imm64 in juicebox_asm::prelude - Rust

Struct juicebox_asm::prelude::Imm64

source ·
pub struct Imm64(_);
Expand description

Immediate operand.

+

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/struct.Imm8.html b/juicebox_asm/prelude/struct.Imm8.html new file mode 100644 index 0000000..33bc618 --- /dev/null +++ b/juicebox_asm/prelude/struct.Imm8.html @@ -0,0 +1,6 @@ +Imm8 in juicebox_asm::prelude - Rust

Struct juicebox_asm::prelude::Imm8

source ·
pub struct Imm8(_);
Expand description

Immediate operand.

+

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/struct.Label.html b/juicebox_asm/prelude/struct.Label.html new file mode 100644 index 0000000..a9346b4 --- /dev/null +++ b/juicebox_asm/prelude/struct.Label.html @@ -0,0 +1,20 @@ +Label in juicebox_asm::prelude - Rust

Struct juicebox_asm::prelude::Label

source ·
pub struct Label { /* private fields */ }
Expand description

A label which is used as target for jump instructions.

+ +
use juicebox_asm::prelude::*;
+
+let mut lbl = Label::new();
+let mut asm = Asm::new();
+
+// Skip the mov instruction.
+asm.jmp(&mut lbl);
+asm.mov(Reg64::rax, Reg64::rax);
+asm.bind(&mut lbl);
+

Panics

+

Panics if the label is dropped while not yet bound, or having unresolved relocations. +This is mainly a safety-guard to detect wrong usage.

+

Implementations§

Create a new unbound Label.

+

Trait Implementations§

Executes the destructor for this type. Read more
Emit an unconditional jump instruction.
Emit a conditional jump if not zero instruction (ZF = 0).
Emit a conditional jump if zero instruction (ZF = 1).

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Add.html b/juicebox_asm/prelude/trait.Add.html new file mode 100644 index 0000000..71c02d9 --- /dev/null +++ b/juicebox_asm/prelude/trait.Add.html @@ -0,0 +1,4 @@ +Add in juicebox_asm::prelude - Rust

Trait juicebox_asm::prelude::Add

source ·
pub trait Add<T, U> {
+    fn add(&mut self, op1: T, op2: U);
+}

Required Methods§

Emit an add instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Dec.html b/juicebox_asm/prelude/trait.Dec.html new file mode 100644 index 0000000..099f88f --- /dev/null +++ b/juicebox_asm/prelude/trait.Dec.html @@ -0,0 +1,4 @@ +Dec in juicebox_asm::prelude - Rust

Trait juicebox_asm::prelude::Dec

source ·
pub trait Dec<T> {
+    fn dec(&mut self, op1: T);
+}

Required Methods§

Emit a decrement instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Jmp.html b/juicebox_asm/prelude/trait.Jmp.html new file mode 100644 index 0000000..4d2bc46 --- /dev/null +++ b/juicebox_asm/prelude/trait.Jmp.html @@ -0,0 +1,4 @@ +Jmp in juicebox_asm::prelude - Rust

Trait juicebox_asm::prelude::Jmp

source ·
pub trait Jmp<T> {
+    fn jmp(&mut self, op1: T);
+}

Required Methods§

Emit an unconditional jump instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Jnz.html b/juicebox_asm/prelude/trait.Jnz.html new file mode 100644 index 0000000..8bd9098 --- /dev/null +++ b/juicebox_asm/prelude/trait.Jnz.html @@ -0,0 +1,4 @@ +Jnz in juicebox_asm::prelude - Rust

Trait juicebox_asm::prelude::Jnz

source ·
pub trait Jnz<T> {
+    fn jnz(&mut self, op1: T);
+}

Required Methods§

Emit a conditional jump if not zero instruction (ZF = 0).

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Jz.html b/juicebox_asm/prelude/trait.Jz.html new file mode 100644 index 0000000..1e8cba2 --- /dev/null +++ b/juicebox_asm/prelude/trait.Jz.html @@ -0,0 +1,4 @@ +Jz in juicebox_asm::prelude - Rust

Trait juicebox_asm::prelude::Jz

source ·
pub trait Jz<T> {
+    fn jz(&mut self, op1: T);
+}

Required Methods§

Emit a conditional jump if zero instruction (ZF = 1).

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Mov.html b/juicebox_asm/prelude/trait.Mov.html new file mode 100644 index 0000000..96188d4 --- /dev/null +++ b/juicebox_asm/prelude/trait.Mov.html @@ -0,0 +1,4 @@ +Mov in juicebox_asm::prelude - Rust

Trait juicebox_asm::prelude::Mov

source ·
pub trait Mov<T, U> {
+    fn mov(&mut self, op1: T, op2: U);
+}

Required Methods§

Emit an move instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/prelude/trait.Test.html b/juicebox_asm/prelude/trait.Test.html new file mode 100644 index 0000000..4dacf0b --- /dev/null +++ b/juicebox_asm/prelude/trait.Test.html @@ -0,0 +1,6 @@ +Test in juicebox_asm::prelude - Rust
pub trait Test<T, U> {
+    fn test(&mut self, op1: T, op2: U);
+}

Required Methods§

Emit a logical compare instruction.

+

Computes the bit-wise logical AND of first operand and the second operand and sets the +SF, ZF, and PF status flags, the result is discarded.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/reg/enum.Reg16.html b/juicebox_asm/reg/enum.Reg16.html new file mode 100644 index 0000000..d506c7f --- /dev/null +++ b/juicebox_asm/reg/enum.Reg16.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/enum.Reg16.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/reg/enum.Reg32.html b/juicebox_asm/reg/enum.Reg32.html new file mode 100644 index 0000000..79cfaf5 --- /dev/null +++ b/juicebox_asm/reg/enum.Reg32.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/enum.Reg32.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/reg/enum.Reg64.html b/juicebox_asm/reg/enum.Reg64.html new file mode 100644 index 0000000..0fff5d7 --- /dev/null +++ b/juicebox_asm/reg/enum.Reg64.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/enum.Reg64.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/reg/enum.Reg8.html b/juicebox_asm/reg/enum.Reg8.html new file mode 100644 index 0000000..339c6e5 --- /dev/null +++ b/juicebox_asm/reg/enum.Reg8.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../juicebox_asm/prelude/enum.Reg8.html...

+ + + \ No newline at end of file diff --git a/juicebox_asm/rt/index.html b/juicebox_asm/rt/index.html new file mode 100644 index 0000000..d6ffe84 --- /dev/null +++ b/juicebox_asm/rt/index.html @@ -0,0 +1 @@ +juicebox_asm::rt - Rust

Module juicebox_asm::rt

source ·

Structs

A simple mmaped runtime with executable pages.
\ No newline at end of file diff --git a/juicebox_asm/rt/sidebar-items.js b/juicebox_asm/rt/sidebar-items.js new file mode 100644 index 0000000..9040803 --- /dev/null +++ b/juicebox_asm/rt/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":[["Runtime","A simple `mmap`ed runtime with executable pages."]]}; \ No newline at end of file diff --git a/juicebox_asm/rt/struct.Runtime.html b/juicebox_asm/rt/struct.Runtime.html new file mode 100644 index 0000000..59812f1 --- /dev/null +++ b/juicebox_asm/rt/struct.Runtime.html @@ -0,0 +1,8 @@ +Runtime in juicebox_asm::rt - Rust

Struct juicebox_asm::rt::Runtime

source ·
pub struct Runtime { /* private fields */ }
Expand description

A simple mmaped runtime with executable pages.

+

Implementations§

Create a new Runtime.

+

Reinterpret the block of code as F.

+

Trait Implementations§

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/juicebox_asm/sidebar-items.js b/juicebox_asm/sidebar-items.js new file mode 100644 index 0000000..a1b0c17 --- /dev/null +++ b/juicebox_asm/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":[["MemOp",""]],"mod":[["prelude",""],["rt",""]],"struct":[["Asm",""]]}; \ No newline at end of file diff --git a/juicebox_asm/struct.Asm.html b/juicebox_asm/struct.Asm.html new file mode 100644 index 0000000..d227900 --- /dev/null +++ b/juicebox_asm/struct.Asm.html @@ -0,0 +1,7 @@ +Asm in juicebox_asm - Rust

Struct juicebox_asm::Asm

source ·
pub struct Asm { /* private fields */ }

Implementations§

Bind the Label to the current location.

+

If the Label is bound, patch any pending relocation.

+

Trait Implementations§

Emit an add instruction.
Emit an add instruction.
Emit a decrement instruction.
Emit a decrement instruction.
Emit an unconditional jump instruction.
Emit a conditional jump if not zero instruction (ZF = 0).
Emit a conditional jump if zero instruction (ZF = 1).
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit a logical compare instruction. Read more
Emit a logical compare instruction. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file -- cgit v1.2.3