rewrote assembler backend to support custom executable format (DSE) and also refactored (moving crates around)

This commit is contained in:
2026-07-16 00:34:13 +01:00
parent 7a84073bc4
commit a4d42bdad6
60 changed files with 1486 additions and 1669 deletions
+3 -3
View File
@@ -37,11 +37,11 @@ db program: "++++++++++++++++++++++++++++++++++++++++++++
db error: "Invalid Instruction!"
dh counter: 0xFF
dw stack: 0x10000
dw input: 0x30000
dw input_addr: 0x30000
resb data: 1024
// set up a stack so we can call functions
_init_stack:
_init:
ldw stack, bpr
mov bpr, spr
@@ -162,7 +162,7 @@ output:
// ------------------------------------------
// read a byte into the current cell
input:
ldw input, rg2
ldw input_addr, rg2
jmp loop_end
// ------------------------------------------