Added tags for TODO.org
This commit is contained in:
5
todo.org
5
todo.org
@@ -2,12 +2,11 @@
|
|||||||
#+author: Aryadev Chavali
|
#+author: Aryadev Chavali
|
||||||
#+date: 2023-11-02
|
#+date: 2023-11-02
|
||||||
|
|
||||||
* TODO Standard library
|
* TODO Standard library :ASM:VM:
|
||||||
I should start considering this and how a user may use it. Should it
|
I should start considering this and how a user may use it. Should it
|
||||||
be an option in the VM and/or assembler binaries (i.e. a flag) or
|
be an option in the VM and/or assembler binaries (i.e. a flag) or
|
||||||
something the user has to specify in their source files?
|
something the user has to specify in their source files?
|
||||||
|
|
||||||
|
|
||||||
Something to consider is /static/ and /dynamic/ "linking" i.e.:
|
Something to consider is /static/ and /dynamic/ "linking" i.e.:
|
||||||
+ Static linking: assembler inserts all used library definitions into
|
+ Static linking: assembler inserts all used library definitions into
|
||||||
the bytecode output directly
|
the bytecode output directly
|
||||||
@@ -71,7 +70,7 @@ There are two ways I can think of achieving this:
|
|||||||
+ This simulates the notion of "calling" and "returning from" a
|
+ This simulates the notion of "calling" and "returning from" a
|
||||||
function in classical languages, but requires more machinery on
|
function in classical languages, but requires more machinery on
|
||||||
the VM side.
|
the VM side.
|
||||||
** DONE Start points
|
** DONE Start points :ASM:VM:
|
||||||
You know how in standard assembly you can write
|
You know how in standard assembly you can write
|
||||||
#+begin_src asm
|
#+begin_src asm
|
||||||
global _start
|
global _start
|
||||||
|
|||||||
Reference in New Issue
Block a user