653 lines
43 KiB
JSON
653 lines
43 KiB
JSON
{
|
|
"version": "1.0",
|
|
"name": "Glyph ISA v1.0",
|
|
"description": "64-family symbolic instruction set architecture for GlyphOS",
|
|
"encoding": {
|
|
"width": 32,
|
|
"layout": {
|
|
"FAMILY_ID": { "bits": [31, 26], "width": 6, "description": "Father glyph index (0-63)" },
|
|
"SUB_ID": { "bits": [25, 21], "width": 5, "description": "Sub-glyph index (0-31)" },
|
|
"MODE": { "bits": [20, 19], "width": 2, "description": "Privilege level" },
|
|
"OPCLASS": { "bits": [18, 16], "width": 3, "description": "Operation class" },
|
|
"OPCODE_LOCAL": { "bits": [15, 0], "width": 16, "description": "Local opcode (OP_A[15:8] + OP_B[7:0])" }
|
|
}
|
|
},
|
|
"modes": {
|
|
"0": { "name": "user", "description": "Unprivileged user-space" },
|
|
"1": { "name": "kernel", "description": "Kernel privilege" },
|
|
"2": { "name": "system", "description": "System/firmware privilege" },
|
|
"3": { "name": "reserved", "description": "Reserved for future use" }
|
|
},
|
|
"opclasses": {
|
|
"0": { "name": "MEM", "description": "Memory operations" },
|
|
"1": { "name": "CMP", "description": "Compute operations" },
|
|
"2": { "name": "CTL", "description": "Control/scheduling" },
|
|
"3": { "name": "IPC", "description": "Inter-process communication" },
|
|
"4": { "name": "SYS", "description": "System/HAL/environment" },
|
|
"5": { "name": "APP", "description": "Application extension" },
|
|
"6": { "name": "EXT", "description": "Extended/reserved" },
|
|
"7": { "name": "EXT2", "description": "Extended/reserved 2" }
|
|
},
|
|
"ext_kinds": {
|
|
"0": { "name": "EXT_NONE", "fields": [] },
|
|
"1": { "name": "EXT_STORE", "fields": ["size", "integrity", "traits"] },
|
|
"2": { "name": "EXT_CMP_PROFILE", "fields": ["profile_id", "dst_handle"] },
|
|
"3": { "name": "EXT_TRAITS", "fields": ["mask"] },
|
|
"4": { "name": "EXT_MISC", "fields": ["a", "b"] }
|
|
},
|
|
"families": [
|
|
{
|
|
"id": 0, "name": "MEM.STORE_EPHEMERAL", "lineage": "MEM",
|
|
"description": "Ephemeral (volatile) memory storage",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "STORE_EPH", "description": "Store ephemeral data", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "STORE_EPH_TRAIT", "description": "Store ephemeral with traits", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "STORE_EPH_FAST", "description": "Fast-path ephemeral store", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "STORE_EPH_BULK", "description": "Bulk ephemeral store", "ext_kind": "EXT_STORE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 1, "name": "MEM.STORE_PERSISTENT", "lineage": "MEM",
|
|
"description": "Persistent (durable) memory storage",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "STORE_PER", "description": "Store persistent data", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "STORE_PER_SYNC", "description": "Store persistent with sync", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "STORE_PER_TRAIT", "description": "Store persistent with traits", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "STORE_PER_SEALED", "description": "Store persistent sealed/integrity","ext_kind": "EXT_STORE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 2, "name": "MEM.LOAD", "lineage": "MEM",
|
|
"description": "Memory load/fetch operations",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "LOAD", "description": "Load data from region", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "LOAD_TRAIT", "description": "Load with trait check", "ext_kind": "EXT_TRAITS","privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "LOAD_RESONANT", "description": "Load with resonance scoring", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "LOAD_BULK", "description": "Bulk load from region", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 3, "name": "MEM.FREE", "lineage": "MEM",
|
|
"description": "Memory deallocation/release",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "FREE", "description": "Free memory region", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "FREE_CASCADE", "description": "Free with cascading lineage", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "FREE_SEALED", "description": "Free sealed region", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 4, "name": "MEM.REGION_CREATE", "lineage": "MEM",
|
|
"description": "Create new memory region",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "REGION_NEW", "description": "Allocate new memory region", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "REGION_NEW_TRAIT", "description": "Allocate with traits", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "REGION_CLONE", "description": "Clone existing region", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 5, "name": "MEM.REGION_RESIZE", "lineage": "MEM",
|
|
"description": "Resize memory region",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "REGION_RESIZE", "description": "Resize region", "ext_kind": "EXT_STORE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "REGION_SHRINK", "description": "Shrink region (release tail)", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "REGION_FILL_ASC", "description": "Fill region with ascending bytes (high coherence)", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "REGION_FILL_NOISE","description": "Fill region with chaotic noise (low coherence)", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 4, "mnemonic": "REGION_FILL_CONST","description": "Fill region with constant byte from reg", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 6, "name": "MEM.COPY", "lineage": "MEM",
|
|
"description": "Memory copy operations",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MEMCOPY", "description": "Copy between regions", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MEMCOPY_TRAIT", "description": "Copy with trait propagation", "ext_kind": "EXT_TRAITS","privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 7, "name": "MEM.INTEGRITY", "lineage": "MEM",
|
|
"description": "Memory integrity checking",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MEM_CHECK", "description": "Check region integrity", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MEM_SEAL", "description": "Seal region (make immutable)", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 8, "name": "CMP.ADD", "lineage": "CMP",
|
|
"description": "Compute: Addition",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "ADD", "description": "Integer addition", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "ADD_F", "description": "Floating-point addition", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "ADD_SAT", "description": "Saturating addition", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "ADD_TRAIT", "description": "Addition with trait propagation", "ext_kind": "EXT_TRAITS","privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 9, "name": "CMP.SUB", "lineage": "CMP",
|
|
"description": "Compute: Subtraction",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "SUB", "description": "Integer subtraction", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "SUB_F", "description": "Floating-point subtraction", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "SUB_SAT", "description": "Saturating subtraction", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 10, "name": "CMP.MUL", "lineage": "CMP",
|
|
"description": "Compute: Multiplication",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MUL", "description": "Integer multiplication", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MUL_F", "description": "Floating-point multiplication", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 11, "name": "CMP.DIV", "lineage": "CMP",
|
|
"description": "Compute: Division",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "DIV", "description": "Integer division", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "DIV_F", "description": "Floating-point division", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "MOD", "description": "Modulo/remainder", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 12, "name": "CMP.LOGIC", "lineage": "CMP",
|
|
"description": "Compute: Bitwise/logic",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "AND", "description": "Bitwise AND", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "OR", "description": "Bitwise OR", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "XOR", "description": "Bitwise XOR", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "NOT", "description": "Bitwise NOT", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 4, "mnemonic": "SHL", "description": "Shift left", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 5, "mnemonic": "SHR", "description": "Shift right", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 13, "name": "CMP.COMPARE", "lineage": "CMP",
|
|
"description": "Compute: Comparison",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "CMP_EQ", "description": "Compare equal", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "CMP_LT", "description": "Compare less than", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "CMP_GT", "description": "Compare greater than", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "CMP_NEQ", "description": "Compare not equal", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 14, "name": "CMP.NEURAL", "lineage": "CMP",
|
|
"description": "Compute: Neural/substrate scoring",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "NEURAL_ENERGY", "description": "Compute neural energy score", "ext_kind": "EXT_CMP_PROFILE","privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "RESONANCE_SCORE", "description": "Compute resonance between regions","ext_kind": "EXT_CMP_PROFILE","privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "STABILITY_SCORE", "description": "Compute stability decay", "ext_kind": "EXT_CMP_PROFILE","privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 15, "name": "CMP.CONVERT", "lineage": "CMP",
|
|
"description": "Compute: Type conversion",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "ITOF", "description": "Integer to float", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "FTOI", "description": "Float to integer", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 16, "name": "CTL.JUMP", "lineage": "CTL",
|
|
"description": "Control: Unconditional jump",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "JMP", "description": "Unconditional jump", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "JMP_REL", "description": "Relative jump", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 17, "name": "CTL.BRANCH", "lineage": "CTL",
|
|
"description": "Control: Conditional branch",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "BEQ", "description": "Branch if equal", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "BNE", "description": "Branch if not equal", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "BLT", "description": "Branch if less than", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "BGT", "description": "Branch if greater than", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 18, "name": "CTL.CALL", "lineage": "CTL",
|
|
"description": "Control: Subroutine call/return",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "CALL", "description": "Call subroutine", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "RET", "description": "Return from subroutine", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 19, "name": "CTL.YIELD", "lineage": "CTL",
|
|
"description": "Control: Cooperative scheduling",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "YIELD", "description": "Yield to scheduler", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "YIELD_IF", "description": "Conditional yield", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 20, "name": "CTL.HALT", "lineage": "CTL",
|
|
"description": "Control: Halt execution",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "HALT", "description": "Halt GVM execution", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "HALT_ERR", "description": "Halt with error code", "ext_kind": "EXT_MISC", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 21, "name": "CTL.NOP", "lineage": "CTL",
|
|
"description": "Control: No operation",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "NOP", "description": "No operation", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "NOP_TRACE", "description": "NOP with trace output", "ext_kind": "EXT_MISC", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 22, "name": "CTL.LOOP", "lineage": "CTL",
|
|
"description": "Control: Loop constructs",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "LOOP", "description": "Decrement and branch if nonzero", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "LOOP_TRAIT", "description": "Loop while trait condition met", "ext_kind": "EXT_TRAITS","privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 23, "name": "CTL.TRAP", "lineage": "CTL",
|
|
"description": "Control: Trap/exception",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "TRAP", "description": "Software trap/syscall", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "TRAP_RET", "description": "Return from trap", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 24, "name": "IPC.SEND", "lineage": "IPC",
|
|
"description": "IPC: Send message",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MSG_SEND", "description": "Send message to GVM", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MSG_SEND_TRAIT", "description": "Send with trait filter", "ext_kind": "EXT_TRAITS","privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "MSG_BROADCAST", "description": "Broadcast to all GVMs", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 25, "name": "IPC.RECV", "lineage": "IPC",
|
|
"description": "IPC: Receive message",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MSG_RECV", "description": "Receive next message", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MSG_RECV_WAIT", "description": "Blocking receive", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "MSG_PEEK", "description": "Peek at next message", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 26, "name": "IPC.CHANNEL", "lineage": "IPC",
|
|
"description": "IPC: Channel management",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "CHAN_OPEN", "description": "Open IPC channel", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "CHAN_CLOSE", "description": "Close IPC channel", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "CHAN_STATUS", "description": "Query channel status", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 27, "name": "IPC.SIGNAL", "lineage": "IPC",
|
|
"description": "IPC: Signal/event",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "SIG_RAISE", "description": "Raise signal", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "SIG_WAIT", "description": "Wait for signal", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "SIG_HANDLER", "description": "Register signal handler", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 28, "name": "IPC.PIPE", "lineage": "IPC",
|
|
"description": "IPC: Pipe/stream",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "PIPE_CREATE", "description": "Create data pipe", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "PIPE_WRITE", "description": "Write to pipe", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "PIPE_READ", "description": "Read from pipe", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 29, "name": "IPC.SHARED_MEM", "lineage": "IPC",
|
|
"description": "IPC: Shared memory",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "SHM_CREATE", "description": "Create shared region", "ext_kind": "EXT_STORE", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "SHM_ATTACH", "description": "Attach to shared region", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "SHM_DETACH", "description": "Detach from shared region", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 30, "name": "IPC.SYNC", "lineage": "IPC",
|
|
"description": "IPC: Synchronization primitives",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MUTEX_LOCK", "description": "Acquire mutex", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MUTEX_UNLOCK", "description": "Release mutex", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "SEM_WAIT", "description": "Semaphore wait (P)", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "SEM_POST", "description": "Semaphore signal (V)", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 31, "name": "IPC.AGENT", "lineage": "IPC",
|
|
"description": "IPC: Agent personality binding",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "AGENT_BIND", "description": "Bind codebook personality to GVM", "ext_kind": "EXT_MISC", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "AGENT_QUERY", "description": "Query agent personality", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "AGENT_MUTATE", "description": "Mutate agent traits", "ext_kind": "EXT_TRAITS","privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 32, "name": "SYS.GVM_CREATE", "lineage": "SYS",
|
|
"description": "System: Create GVM",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "GVM_NEW", "description": "Create new GVM instance", "ext_kind": "EXT_MISC", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "GVM_NEW_CHILD", "description": "Fork child GVM from current", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 33, "name": "SYS.GVM_DESTROY", "lineage": "SYS",
|
|
"description": "System: Destroy GVM",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "GVM_KILL", "description": "Destroy GVM instance", "ext_kind": "EXT_NONE", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "GVM_KILL_CASCADE", "description": "Destroy GVM and children", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 34, "name": "SYS.GVM_SCHEDULE", "lineage": "SYS",
|
|
"description": "System: GVM scheduling",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "SCHED_RR", "description": "Round-robin schedule", "ext_kind": "EXT_NONE", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "SCHED_PRIORITY", "description": "Priority-based schedule", "ext_kind": "EXT_MISC", "privilege": "kernel" },
|
|
{ "sub_id": 2, "mnemonic": "SCHED_RESONANCE", "description": "Resonance-aware scheduling", "ext_kind": "EXT_CMP_PROFILE","privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 35, "name": "SYS.HAL_DISPATCH", "lineage": "SYS",
|
|
"description": "System: HAL dispatch",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "HAL_CALL", "description": "Dispatch to HAL backend", "ext_kind": "EXT_MISC", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "HAL_QUERY", "description": "Query HAL capabilities", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "HAL_REGISTER", "description": "Register new HAL backend", "ext_kind": "EXT_MISC", "privilege": "system" }
|
|
]
|
|
},
|
|
{
|
|
"id": 36, "name": "SYS.ENV", "lineage": "SYS",
|
|
"description": "System: Environment query",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "ENV_GET", "description": "Get environment variable", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "ENV_SET", "description": "Set environment variable", "ext_kind": "EXT_NONE", "privilege": "kernel" },
|
|
{ "sub_id": 2, "mnemonic": "ENV_ARCH", "description": "Query architecture info", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 37, "name": "SYS.SUBSTRATE", "lineage": "SYS",
|
|
"description": "System: Substrate engine interface",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "SUB_QUERY", "description": "Query substrate parameters", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "SUB_TUNE", "description": "Tune substrate constants", "ext_kind": "EXT_MISC", "privilege": "system" },
|
|
{ "sub_id": 2, "mnemonic": "SUB_PROFILE", "description": "Profile substrate performance", "ext_kind": "EXT_CMP_PROFILE","privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 38, "name": "SYS.TRAIT_GLOBAL", "lineage": "SYS",
|
|
"description": "System: Global trait management",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "TRAIT_DEFINE", "description": "Define new trait bit", "ext_kind": "EXT_TRAITS","privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "TRAIT_QUERY", "description": "Query trait registry", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "TRAIT_PROPAGATE", "description": "Run global trait propagation", "ext_kind": "EXT_TRAITS","privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 39, "name": "SYS.LINEAGE", "lineage": "SYS",
|
|
"description": "System: Lineage tracking",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "LINEAGE_QUERY", "description": "Query lineage chain", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "LINEAGE_BIND", "description": "Bind lineage parent-child", "ext_kind": "EXT_NONE", "privilege": "kernel" },
|
|
{ "sub_id": 2, "mnemonic": "LINEAGE_CHECK", "description": "Check lineage propagation", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 40, "name": "SYS.TIMER", "lineage": "SYS",
|
|
"description": "System: Timer/clock",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "TIMER_GET", "description": "Get system timer value", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "TIMER_SET", "description": "Set timer alarm", "ext_kind": "EXT_MISC", "privilege": "kernel" },
|
|
{ "sub_id": 2, "mnemonic": "TIMER_SLEEP", "description": "Sleep for N ticks", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 41, "name": "SYS.LOG", "lineage": "SYS",
|
|
"description": "System: Logging/tracing",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "LOG_INFO", "description": "Log info message", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "LOG_WARN", "description": "Log warning message", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "LOG_ERR", "description": "Log error message", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "LOG_TRACE", "description": "Log trace/debug message", "ext_kind": "EXT_MISC", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 42, "name": "SYS.BOOT", "lineage": "SYS",
|
|
"description": "System: Boot/firmware interface",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "BOOT_QUERY", "description": "Query boot parameters", "ext_kind": "EXT_NONE", "privilege": "system" },
|
|
{ "sub_id": 1, "mnemonic": "BOOT_CHAIN", "description": "Chain to next boot stage", "ext_kind": "EXT_NONE", "privilege": "system" },
|
|
{ "sub_id": 2, "mnemonic": "BOOT_HAL_INIT", "description": "Initialize HAL during boot", "ext_kind": "EXT_NONE", "privilege": "system" }
|
|
]
|
|
},
|
|
{
|
|
"id": 43, "name": "SYS.PANIC", "lineage": "SYS",
|
|
"description": "System: Kernel panic/recovery",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "PANIC", "description": "Kernel panic (halt all GVMs)", "ext_kind": "EXT_MISC", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "PANIC_RECOVER", "description": "Attempt panic recovery", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 44, "name": "SYS.DEBUG", "lineage": "SYS",
|
|
"description": "System: Debug support",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "DBG_BREAK", "description": "Debugger breakpoint", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "DBG_DUMP", "description": "Dump VM state", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "DBG_TRACE_ON", "description": "Enable instruction tracing", "ext_kind": "EXT_NONE", "privilege": "kernel" },
|
|
{ "sub_id": 3, "mnemonic": "DBG_TRACE_OFF", "description": "Disable instruction tracing", "ext_kind": "EXT_NONE", "privilege": "kernel" }
|
|
]
|
|
},
|
|
{
|
|
"id": 45, "name": "SYS.PRIVILEGE", "lineage": "SYS",
|
|
"description": "System: Privilege management",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "PRIV_ELEVATE", "description": "Request privilege elevation", "ext_kind": "EXT_NONE", "privilege": "kernel" },
|
|
{ "sub_id": 1, "mnemonic": "PRIV_DROP", "description": "Drop to lower privilege", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "PRIV_CHECK", "description": "Check current privilege level", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 46, "name": "SYS.HANDLE", "lineage": "SYS",
|
|
"description": "System: Handle table management",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "HANDLE_ALLOC", "description": "Allocate new handle", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "HANDLE_FREE", "description": "Free handle", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "HANDLE_TYPE", "description": "Query handle type", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 47, "name": "SYS.RESERVED", "lineage": "SYS",
|
|
"description": "System: Reserved for future SYS extensions",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "SYS_RESERVED_0", "description": "Reserved", "ext_kind": "EXT_NONE", "privilege": "system" }
|
|
]
|
|
},
|
|
{
|
|
"id": 48, "name": "APP.PRINT", "lineage": "APP",
|
|
"description": "Application: Print/output",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "PRINT_INT", "description": "Print integer from OP_A", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "PRINT_STR", "description": "Print string from region", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "PRINT_HEX", "description": "Print hex value", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "PRINT_FLOAT", "description": "Print float value", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 4, "mnemonic": "PRINT_NEWLINE", "description": "Print newline character", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 49, "name": "APP.INPUT", "lineage": "APP",
|
|
"description": "Application: User input",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "INPUT_INT", "description": "Read integer from user", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "INPUT_STR", "description": "Read string from user", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 50, "name": "APP.FILE", "lineage": "APP",
|
|
"description": "Application: File I/O",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "FILE_OPEN", "description": "Open file", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "FILE_READ", "description": "Read from file", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "FILE_WRITE", "description": "Write to file", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "FILE_CLOSE", "description": "Close file", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 51, "name": "APP.NET", "lineage": "APP",
|
|
"description": "Application: Network I/O",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "NET_CONNECT", "description": "Open network connection", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "NET_SEND", "description": "Send network data", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "NET_RECV", "description": "Receive network data", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "NET_CLOSE", "description": "Close network connection", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 52, "name": "APP.GFX", "lineage": "APP",
|
|
"description": "Application: Graphics",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "GFX_INIT", "description": "Initialize graphics context", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "GFX_PIXEL", "description": "Set pixel", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "GFX_CLEAR", "description": "Clear screen/buffer", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "GFX_FLIP", "description": "Flip/present framebuffer", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 53, "name": "APP.AUDIO", "lineage": "APP",
|
|
"description": "Application: Audio",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "AUDIO_INIT", "description": "Initialize audio subsystem", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "AUDIO_PLAY", "description": "Play audio buffer", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "AUDIO_STOP", "description": "Stop audio playback", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 54, "name": "APP.RANDOM", "lineage": "APP",
|
|
"description": "Application: Random number generation",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "RAND_INT", "description": "Generate random integer", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "RAND_FLOAT", "description": "Generate random float [0,1)", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "RAND_SEED", "description": "Seed RNG", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 55, "name": "APP.STRING", "lineage": "APP",
|
|
"description": "Application: String operations",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "STR_LEN", "description": "Get string length", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "STR_CAT", "description": "Concatenate strings", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "STR_CMP", "description": "Compare strings", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "STR_FIND", "description": "Find substring", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 56, "name": "APP.MATH", "lineage": "APP",
|
|
"description": "Application: Math library",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "MATH_SQRT", "description": "Square root", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "MATH_SIN", "description": "Sine", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "MATH_COS", "description": "Cosine", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "MATH_POW", "description": "Power (a^b)", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 4, "mnemonic": "MATH_LOG", "description": "Natural logarithm", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 5, "mnemonic": "MATH_ABS", "description": "Absolute value", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 57, "name": "APP.CRYPTO", "lineage": "APP",
|
|
"description": "Application: Cryptographic operations",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "HASH_SHA256", "description": "SHA-256 hash", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "HMAC", "description": "HMAC computation", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "ENCRYPT", "description": "Symmetric encryption", "ext_kind": "EXT_MISC", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "DECRYPT", "description": "Symmetric decryption", "ext_kind": "EXT_MISC", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 58, "name": "APP.CODEC", "lineage": "APP",
|
|
"description": "Application: Encoding/decoding",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "BASE64_ENC", "description": "Base64 encode", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "BASE64_DEC", "description": "Base64 decode", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "UTF8_VALIDATE", "description": "Validate UTF-8 string", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 59, "name": "APP.TIME", "lineage": "APP",
|
|
"description": "Application: Time/date utilities",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "TIME_NOW", "description": "Get current timestamp", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "TIME_DIFF", "description": "Compute time difference", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 60, "name": "APP.COLLECTION", "lineage": "APP",
|
|
"description": "Application: Data structures",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "LIST_NEW", "description": "Create new list", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "LIST_PUSH", "description": "Push to list", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "LIST_POP", "description": "Pop from list", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 3, "mnemonic": "MAP_NEW", "description": "Create new map", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 4, "mnemonic": "MAP_SET", "description": "Set map key-value", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 5, "mnemonic": "MAP_GET", "description": "Get value by key", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 61, "name": "APP.GLYPH_META", "lineage": "APP",
|
|
"description": "Application: Glyph metadata/introspection",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "META_ISA_VER", "description": "Query ISA version", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 1, "mnemonic": "META_FAMILY_INFO", "description": "Query family information", "ext_kind": "EXT_NONE", "privilege": "user" },
|
|
{ "sub_id": 2, "mnemonic": "META_INSTR_INFO", "description": "Introspect instruction encoding", "ext_kind": "EXT_NONE", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 62, "name": "APP.USER_EXT1", "lineage": "APP",
|
|
"description": "Application: User extension slot 1",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "UEXT1_0", "description": "User extension 1, op 0", "ext_kind": "EXT_MISC", "privilege": "user" }
|
|
]
|
|
},
|
|
{
|
|
"id": 63, "name": "APP.USER_EXT2", "lineage": "APP",
|
|
"description": "Application: User extension slot 2",
|
|
"subglyphs": [
|
|
{ "sub_id": 0, "mnemonic": "UEXT2_0", "description": "User extension 2, op 0", "ext_kind": "EXT_MISC", "privilege": "user" }
|
|
]
|
|
}
|
|
],
|
|
"object_format": {
|
|
"name": ".gobj",
|
|
"description": "Glyph object file format",
|
|
"header": {
|
|
"magic": "GLYPHOBJ",
|
|
"magic_size": 8,
|
|
"version": { "type": "uint32", "value": 1 },
|
|
"code_len": { "type": "uint32", "description": "Number of 32-bit instruction words" },
|
|
"ext_len": { "type": "uint32", "description": "Number of ExtSlot entries" }
|
|
},
|
|
"sections": [
|
|
{ "name": "code", "description": "code_len * 4 bytes of 32-bit instruction words" },
|
|
{ "name": "ext", "description": "ext_len * sizeof(ExtSlot) bytes of extended operand data" }
|
|
]
|
|
},
|
|
"assembly_syntax": {
|
|
"format": "<mnemonic>[.<mode>] <operand1>, <operand2>, ...",
|
|
"comment_char": ";",
|
|
"operand_types": {
|
|
"handle": { "prefix": "%h", "example": "%h0" },
|
|
"id": { "prefix": "@", "example": "@my_region" },
|
|
"integer": { "example": "42" },
|
|
"traits": { "prefix": "traits{", "suffix": "}", "example": "traits{0xFF}" }
|
|
}
|
|
},
|
|
"substrate_constants": {
|
|
"RESONANCE_K": { "value": 1.0, "description": "Logistic curve steepness" },
|
|
"RESONANCE_MU": { "value": 4.0, "description": "Logistic curve midpoint" },
|
|
"STABILITY_LAMBDA": { "value": 0.1, "description": "Exponential decay rate" },
|
|
"LINEAGE_THRESHOLD": { "value": 0.75, "description": "Correlation threshold for lineage propagation" }
|
|
}
|
|
}
|