WIP bytecode and routine, read more

The tests are failing in a strange way, with the error message 'corrupted top size'. I don't know what it means, and it seems to be caused by a call to printf() within 'test_bytecode.c'. I need a break, as this is making me dizzy.
This commit is contained in:
2024-09-19 12:45:35 +10:00
parent 47ac1c5b30
commit 083ee950dd
7 changed files with 222 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ Additional information may be added later, or multiple 'modules' listed sequenti
N .param count # the number of parameter fields expected
N .data count # the number of data fields expected
N .routine count # the number of routines present
.param start # absolute address of .param; omitted if not needed
.param start # absolute addess of .param; omitted if not needed
.code start # absolute address of .code; mandatory
.datatable start # absolute address of .datatable; omitted if not needed
.data start # absolute address of .data; omitted if not needed
@@ -64,7 +64,7 @@ Additional information may be added later, or multiple 'modules' listed sequenti
.data:
# data that can't really be embedded into .code
"Hello world"
<STRING>,"Hello world"
.routines:
# inner routines, each of which conforms to this spec