From 130746bc856f5c2eb5672cceb0e1304ee2c95b1e Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 28 Feb 2024 18:32:44 +0000 Subject: deploy: 7cc72737a0140f5f71e9d83d4f87503eb4c7604f --- juicebox_asm/insn/index.html | 5 +++-- juicebox_asm/insn/sidebar-items.js | 2 +- juicebox_asm/insn/trait.Add.html | 7 ++++--- juicebox_asm/insn/trait.Call.html | 7 ++++--- juicebox_asm/insn/trait.Cmp.html | 7 ++++--- juicebox_asm/insn/trait.Dec.html | 7 ++++--- juicebox_asm/insn/trait.Jmp.html | 7 ++++--- juicebox_asm/insn/trait.Jnz.html | 7 ++++--- juicebox_asm/insn/trait.Jz.html | 7 ++++--- juicebox_asm/insn/trait.Mov.html | 7 ++++--- juicebox_asm/insn/trait.Pop.html | 7 +++++++ juicebox_asm/insn/trait.Push.html | 7 +++++++ juicebox_asm/insn/trait.Test.html | 7 ++++--- 13 files changed, 54 insertions(+), 30 deletions(-) create mode 100644 juicebox_asm/insn/trait.Pop.html create mode 100644 juicebox_asm/insn/trait.Push.html (limited to 'juicebox_asm/insn') diff --git a/juicebox_asm/insn/index.html b/juicebox_asm/insn/index.html index f440fba..cf23995 100644 --- a/juicebox_asm/insn/index.html +++ b/juicebox_asm/insn/index.html @@ -1,2 +1,3 @@ -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 +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 pop instruction kinds.
  • Trait for push 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 index 140fc4e..23ed650 100644 --- a/juicebox_asm/insn/sidebar-items.js +++ b/juicebox_asm/insn/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"trait":["Add","Call","Cmp","Dec","Jmp","Jnz","Jz","Mov","Test"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"trait":["Add","Call","Cmp","Dec","Jmp","Jnz","Jz","Mov","Pop","Push","Test"]}; \ No newline at end of file diff --git a/juicebox_asm/insn/trait.Add.html b/juicebox_asm/insn/trait.Add.html index 06adc65..f64bb18 100644 --- a/juicebox_asm/insn/trait.Add.html +++ b/juicebox_asm/insn/trait.Add.html @@ -1,6 +1,7 @@ -Add in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Add

source ·
pub trait Add<T, U> {
+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 +

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 00b613f..e306d73 100644 --- a/juicebox_asm/insn/trait.Call.html +++ b/juicebox_asm/insn/trait.Call.html @@ -1,6 +1,7 @@ -Call in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Call

source ·
pub trait Call<T> {
+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 +

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 3f88e11..cd38840 100644 --- a/juicebox_asm/insn/trait.Cmp.html +++ b/juicebox_asm/insn/trait.Cmp.html @@ -1,8 +1,9 @@ -Cmp in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Cmp

source ·
pub trait Cmp<T, U> {
+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.

+

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 +

Implementors§

\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Dec.html b/juicebox_asm/insn/trait.Dec.html index e8c6042..d53ac3b 100644 --- a/juicebox_asm/insn/trait.Dec.html +++ b/juicebox_asm/insn/trait.Dec.html @@ -1,6 +1,7 @@ -Dec in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Dec

source ·
pub trait Dec<T> {
+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 +

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 9b01a30..21b50fa 100644 --- a/juicebox_asm/insn/trait.Jmp.html +++ b/juicebox_asm/insn/trait.Jmp.html @@ -1,6 +1,7 @@ -Jmp in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Jmp

source ·
pub trait Jmp<T> {
+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 +

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 9031e08..db1e536 100644 --- a/juicebox_asm/insn/trait.Jnz.html +++ b/juicebox_asm/insn/trait.Jnz.html @@ -1,6 +1,7 @@ -Jnz in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Jnz

source ·
pub trait Jnz<T> {
+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 +

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 fc6e391..799b9bc 100644 --- a/juicebox_asm/insn/trait.Jz.html +++ b/juicebox_asm/insn/trait.Jz.html @@ -1,6 +1,7 @@ -Jz in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Jz

source ·
pub trait Jz<T> {
+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 +

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 2022b18..86659f9 100644 --- a/juicebox_asm/insn/trait.Mov.html +++ b/juicebox_asm/insn/trait.Mov.html @@ -1,6 +1,7 @@ -Mov in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Mov

source ·
pub trait Mov<T, U> {
+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 +

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.Pop.html b/juicebox_asm/insn/trait.Pop.html new file mode 100644 index 0000000..02083ec --- /dev/null +++ b/juicebox_asm/insn/trait.Pop.html @@ -0,0 +1,7 @@ +Pop in juicebox_asm::insn - Rust +

Trait juicebox_asm::insn::Pop

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

Trait for pop instruction kinds.

+

Required Methods§

source

fn pop(&mut self, op1: T)

Emit a pop instruction.

+

Implementors§

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

Trait juicebox_asm::insn::Push

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

Trait for push instruction kinds.

+

Required Methods§

source

fn push(&mut self, op1: T)

Emit a push 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 19da176..331dfad 100644 --- a/juicebox_asm/insn/trait.Test.html +++ b/juicebox_asm/insn/trait.Test.html @@ -1,8 +1,9 @@ -Test in juicebox_asm::insn - Rust

Trait juicebox_asm::insn::Test

source ·
pub trait Test<T, U> {
+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.

+

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 +

Implementors§

\ No newline at end of file -- cgit v1.2.3