Skip to main content

Crate cuda_assembler

Crate cuda_assembler 

Source
Expand description

§cuda-assembler

Text-to-bytecode assembler for agent instruction sets.

Supports: labels, comments, data directives, confidence annotations, and the full 80-opcode agent instruction set from cuda-instruction-set.

Usage (pseudocode, not Rust):

  MOVI R0, 42        ; R0 = 42
  CONF R0, 0.95      ; R0 confidence = 0.95
  LABEL start:
  ADDI R1, R0, 1
  JNZ R1, start
  TELL R0, "hello"   ; A2A broadcast
  HALT

Structs§

Assembler
Two-pass assembler

Enums§

AsmError
Assembler error
Op
Opcode enum matching cuda-instruction-set