mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user