From c94a65c993f5da6a86bd1e6d23e359ba2052f836 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 13 Dec 2024 00:18:53 +0000 Subject: deploy: 758f014afb8ec5c20ef2fc862fc12e80f65d3d25 --- juicebox_asm/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juicebox_asm/index.html') diff --git a/juicebox_asm/index.html b/juicebox_asm/index.html index 82627c1..ae482cb 100644 --- a/juicebox_asm/index.html +++ b/juicebox_asm/index.html @@ -1,4 +1,4 @@ -juicebox_asm - Rust

Crate juicebox_asm

source
Expand description

A simple x64 jit assembler with a minimal runtime to execute emitted code for fun.

+juicebox_asm - Rust

Crate juicebox_asm

source
Expand description

A simple x64 jit assembler with a minimal runtime to execute emitted code for fun.

The following is an fibonacci example implementation.

use juicebox_asm::{Asm, Reg64, Imm64, Label};
@@ -70,4 +70,4 @@
         assert_eq!(fib_jit, fib_rs(n));
     }
 }
-

Modules§

  • Trait definitions of various instructions.

Structs§

  • x64 jit assembler.
  • Type representing an 8 bit immediate.
  • Type representing a 16 bit immediate.
  • Type representing a 32 bit immediate.
  • Type representing a 64 bit immediate.
  • A label which is used as target for jump instructions.
  • A memory operand with a word (8 bit) size hint.
  • A memory operand with a word (16 bit) size hint.
  • A memory operand with a dword (32 bit) size hint.
  • A memory operand with a qword (64 bit) size hint.
  • A simple mmaped runtime with executable pages.

Enums§

  • Type representing a memory operand.
  • Definition of 8 bit registers.
  • Definition of 16 bit registers.
  • Definition of 32 bit registers.
  • Definition of 64 bit registers.
\ No newline at end of file +

Modules§

  • Trait definitions of various instructions.

Structs§

  • x64 jit assembler.
  • Type representing an 8 bit immediate.
  • Type representing a 16 bit immediate.
  • Type representing a 32 bit immediate.
  • Type representing a 64 bit immediate.
  • A label which is used as target for jump instructions.
  • A memory operand with byte size (8 bit).
  • A memory operand with word size (16 bit).
  • A memory operand with dword size (32 bit).
  • A memory operand with qword size (64 bit).
  • A simple mmaped runtime with executable pages.

Enums§

  • Definition of 8 bit registers.
  • Definition of 16 bit registers.
  • Definition of 32 bit registers.
  • Definition of 64 bit registers.
\ No newline at end of file -- cgit v1.2.3