pr 00.1 decouple more code from vm and hardware
This commit is contained in:
parent
0b97de6d2e
commit
e52a426f02
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user