x86_64 arch + asm start

This commit is contained in:
2026-06-02 03:24:21 -04:00
parent c2a8c50a6d
commit 473ddab0d4
12 changed files with 200 additions and 11 deletions
+4 -10
View File
@@ -16,16 +16,9 @@ pub struct Statement {
}
pub enum StatementTy {
Define,
Assign {
target: VarId,
ty: TypeId,
val: VarId,
},
Call {
target: VarId,
args: Vec<VarId>,
},
Define { target: VarId, val: VarId },
Assign { target: VarId, val: VarId },
Call { target: VarId, args: Vec<VarId> },
}
pub struct Var {
@@ -36,6 +29,7 @@ pub struct Var {
pub enum Type {
Unsigned(u8),
Signed(u8),
Infer,
}
pub type VarId = u32;