Working on the assembler.

This commit is contained in:
2025-07-18 12:43:42 +08:00
parent ae79862c07
commit 5701386dfb
19 changed files with 329 additions and 105 deletions

View File

@@ -7,9 +7,9 @@ namespace SVM.Core
{
public Dictionary<string, uint> Functions = new Dictionary<string, uint>();
}
public class RuntimeBinary
public unsafe class RuntimeBinary
{
public uint offset;
public SVMProgram* program;
public SimpleVirtualMachine? BindedMachine;
public DebugSymbol? Symbol;
public bool Invoke(string funcName)