clean up
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
//! This module defines the Application Binary Interface (ABI) of the Prometeu Virtual Machine.
|
||||
//! It specifies how instructions are encoded in bytes and how they interact with memory.
|
||||
|
||||
// --- Runtime Trap Codes (post-HIP reset) ---
|
||||
|
||||
/// Attempted to execute an unknown or invalid opcode.
|
||||
pub const TRAP_ILLEGAL_INSTRUCTION: u32 = 0x0000_0001;
|
||||
/// Out-of-bounds access (e.g., stack/heap/local index out of range).
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
mod abi;
|
||||
mod decoder;
|
||||
mod layout;
|
||||
mod model;
|
||||
pub mod model;
|
||||
mod opcode;
|
||||
mod opcode_spec;
|
||||
mod program_image;
|
||||
mod value;
|
||||
pub mod isa; // canonical ISA boundary (core and future profiles)
|
||||
mod disassembler;
|
||||
mod assembler;
|
||||
pub mod assembler;
|
||||
|
||||
pub use abi::{
|
||||
TrapInfo, TRAP_BAD_RET_SLOTS, TRAP_DIV_ZERO, TRAP_ILLEGAL_INSTRUCTION, TRAP_INVALID_FUNC,
|
||||
|
||||
Reference in New Issue
Block a user