From d3e1eff9593501ff8677b9399e1f0625f415ec78 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 7 Dec 2023 23:53:44 +0000 Subject: deploy: b5aea3fb5fcce31599e3d7397d5413a934132231 --- juicebox_asm/insn/index.html | 2 ++ juicebox_asm/insn/sidebar-items.js | 1 + juicebox_asm/insn/trait.Add.html | 17 ++++++----------- juicebox_asm/insn/trait.Call.html | 17 ++++++----------- juicebox_asm/insn/trait.Cmp.html | 19 ++++++++----------- juicebox_asm/insn/trait.Dec.html | 17 ++++++----------- juicebox_asm/insn/trait.Jmp.html | 17 ++++++----------- juicebox_asm/insn/trait.Jnz.html | 17 ++++++----------- juicebox_asm/insn/trait.Jz.html | 17 ++++++----------- juicebox_asm/insn/trait.Mov.html | 17 ++++++----------- juicebox_asm/insn/trait.Test.html | 19 ++++++++----------- 11 files changed, 61 insertions(+), 99 deletions(-) create mode 100644 juicebox_asm/insn/index.html create mode 100644 juicebox_asm/insn/sidebar-items.js (limited to 'juicebox_asm/insn') diff --git a/juicebox_asm/insn/index.html b/juicebox_asm/insn/index.html new file mode 100644 index 0000000..f440fba --- /dev/null +++ b/juicebox_asm/insn/index.html @@ -0,0 +1,2 @@ +juicebox_asm::insn - Rust

Module juicebox_asm::insn

source ·
Expand description

Trait definitions of various instructions.

+

Traits

  • Trait for add instruction kinds.
  • Trait for call instruction kinds.
  • Trait for cmp instruction kinds.
  • Trait for dec instruction kinds.
  • Trait for jmp instruction kinds.
  • Trait for jnz instruction kinds.
  • Trait for jz instruction kinds.
  • Trait for mov instruction kinds.
  • Trait for test instruction kinds.
\ No newline at end of file diff --git a/juicebox_asm/insn/sidebar-items.js b/juicebox_asm/insn/sidebar-items.js new file mode 100644 index 0000000..140fc4e --- /dev/null +++ b/juicebox_asm/insn/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"trait":["Add","Call","Cmp","Dec","Jmp","Jnz","Jz","Mov","Test"]}; \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Add.html b/juicebox_asm/insn/trait.Add.html index 4dbbe06..06adc65 100644 --- a/juicebox_asm/insn/trait.Add.html +++ b/juicebox_asm/insn/trait.Add.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Add in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Add

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

Trait for add instruction kinds.

+

Required Methods§

source

fn add(&mut self, op1: T, op2: U)

Emit an add instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Call.html b/juicebox_asm/insn/trait.Call.html index 6bc842e..00b613f 100644 --- a/juicebox_asm/insn/trait.Call.html +++ b/juicebox_asm/insn/trait.Call.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Call in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Call

source ·
pub trait Call<T> {
+    // Required method
+    fn call(&mut self, op1: T);
+}
Expand description

Trait for call instruction kinds.

+

Required Methods§

source

fn call(&mut self, op1: T)

Emit a call instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Cmp.html b/juicebox_asm/insn/trait.Cmp.html index b685490..3f88e11 100644 --- a/juicebox_asm/insn/trait.Cmp.html +++ b/juicebox_asm/insn/trait.Cmp.html @@ -1,11 +1,8 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Cmp in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Cmp

source ·
pub trait Cmp<T, U> {
+    // Required method
+    fn cmp(&mut self, op1: T, op2: U);
+}
Expand description

Trait for cmp instruction kinds.

+

Required Methods§

source

fn cmp(&mut self, op1: T, op2: U)

Emit a compare instruction.

+

Computes op2 - op1 and sets the status flags in the same way as the sub instruction, +the result is discarded.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Dec.html b/juicebox_asm/insn/trait.Dec.html index 9a2b82d..e8c6042 100644 --- a/juicebox_asm/insn/trait.Dec.html +++ b/juicebox_asm/insn/trait.Dec.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Dec in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Dec

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

Trait for dec instruction kinds.

+

Required Methods§

source

fn dec(&mut self, op1: T)

Emit a decrement instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jmp.html b/juicebox_asm/insn/trait.Jmp.html index 2f3bf40..9b01a30 100644 --- a/juicebox_asm/insn/trait.Jmp.html +++ b/juicebox_asm/insn/trait.Jmp.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Jmp in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Jmp

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

Trait for jmp instruction kinds.

+

Required Methods§

source

fn jmp(&mut self, op1: T)

Emit an unconditional jump instruction.

+

Implementors§

source§

impl Jmp<&mut Label> for Asm

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jnz.html b/juicebox_asm/insn/trait.Jnz.html index 7692604..9031e08 100644 --- a/juicebox_asm/insn/trait.Jnz.html +++ b/juicebox_asm/insn/trait.Jnz.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Jnz in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Jnz

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

Trait for jnz instruction kinds.

+

Required Methods§

source

fn jnz(&mut self, op1: T)

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

+

Implementors§

source§

impl Jnz<&mut Label> for Asm

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jz.html b/juicebox_asm/insn/trait.Jz.html index 05a2555..fc6e391 100644 --- a/juicebox_asm/insn/trait.Jz.html +++ b/juicebox_asm/insn/trait.Jz.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Jz in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Jz

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

Trait for jz instruction kinds.

+

Required Methods§

source

fn jz(&mut self, op1: T)

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

+

Implementors§

source§

impl Jz<&mut Label> for Asm

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Mov.html b/juicebox_asm/insn/trait.Mov.html index fdbd208..2022b18 100644 --- a/juicebox_asm/insn/trait.Mov.html +++ b/juicebox_asm/insn/trait.Mov.html @@ -1,11 +1,6 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Mov in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Mov

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

Trait for mov instruction kinds.

+

Required Methods§

source

fn mov(&mut self, op1: T, op2: U)

Emit an move instruction.

+

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Test.html b/juicebox_asm/insn/trait.Test.html index 323461d..19da176 100644 --- a/juicebox_asm/insn/trait.Test.html +++ b/juicebox_asm/insn/trait.Test.html @@ -1,11 +1,8 @@ - - - - - Redirection - - -

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

- - - \ No newline at end of file +Test in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Test

source ·
pub trait Test<T, U> {
+    // Required method
+    fn test(&mut self, op1: T, op2: U);
+}
Expand description

Trait for test instruction kinds.

+

Required Methods§

source

fn test(&mut self, op1: T, op2: U)

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 -- cgit v1.2.3