sorting specs TODO

This commit is contained in:
2026-03-24 13:42:16 +00:00
parent bc5a1e1dcc
commit 4c4ba1d603
4 changed files with 159 additions and 34 deletions
+1 -3
View File
@@ -29,7 +29,7 @@ This document defines the minimal, stable Core ISA surface for the Prometeu Virt
- Stack manipulation:
- `PUSH_CONST u32` — load constant by index → _pushes `[value]`.
- `PUSH_I64 i64`, `PUSH_F64 f64`, `PUSH_BOOL u8`, `PUSH_I32 i32`, `PUSH_BOUNDED u32(<=0xFFFF)` — push literals.
- `PUSH_I64 i64`, `PUSH_F64 f64`, `PUSH_BOOL u8`, `PUSH_I32 i32` — push literals.
- `POP` — pops 1.
- `POP_N u32` — pops N.
- `DUP` — `[x] -> [x, x]`.
@@ -38,8 +38,6 @@ This document defines the minimal, stable Core ISA surface for the Prometeu Virt
- Arithmetic:
- `ADD`, `SUB`, `MUL`, `DIV`, `MOD` — binary numeric ops.
- `NEG` — unary numeric negation.
- `BOUND_TO_INT` — `[bounded] -> [int64]`.
- `INT_TO_BOUND_CHECKED` — `[int] -> [bounded]` (traps on overflow 0..65535).
- Comparison and logic:
- `EQ`, `NEQ`, `LT`, `LTE`, `GT`, `GTE` — comparisons → `[bool]`.