Skip to main content

Module opcode

Module opcode 

Source
Expand description

Stable opcode vocabulary shared by every Harn execution target.

This is the bytecode ABI’s single schema. Numeric discriminants and operand layouts are versioned artifact data, not implementation details. Consumers must use Op::operands instead of maintaining byte-width tables.

Enums§

Op
OperandKind
One encoded operand in a Harn bytecode instruction.
Portability

Constants§

OPCODE_ABI_ARTIFACT_VERSION
Artifact format version whose golden opcode fingerprint is pinned below.
OPCODE_ABI_FINGERPRINT_V1
Golden BLAKE3 digest of opcode bytes, names, and operand-role tags for v1.

Functions§

opcode_abi_fingerprint
Compute the fingerprint of the compiled opcode schema.