pr 00.1 decouple more code from vm and hardware

This commit is contained in:
bQUARKz 2026-02-03 21:00:42 +00:00
parent 0b97de6d2e
commit e52a426f02
Signed by: bquarkz
SSH Key Fingerprint: SHA256:Z7dgqoglWwoK6j6u4QC87OveEq74WOhFN+gitsxtkf8

View File

@ -1,7 +1,7 @@
use prometeu_bytecode::opcode::OpCode; use prometeu_bytecode::opcode::OpCode;
/// Specification for a single OpCode. /// Specification for a single OpCode.
/// All JMP/JMP_IF_* immediates are u32 absolute offsets from function start. /// All JMP/JMP_IF_* immediate are u32 absolute offsets from function start.
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
pub struct OpcodeSpec { pub struct OpcodeSpec {
pub name: &'static str, pub name: &'static str,