Age | Commit message (Collapse) | Author |
|
we make use of the struc / endstruc notation of nasm.
this allows us to have change / add / remove some fields of the so said
structures without having to change the whole code.
|
|
this avoids the need of prefixing the redundant label names (e.g. end, loop)
by the name of the function. The latter version is shorter to type and
hides local labels when the object file is desassembled.
Thus, instead of having
function_name:
jmp function_name_end
function_name_end:
we have this
function_name:
jmp .end
.end:
|
|
nasm lets us specify whether global data items are functions or data.
as for us, we do not have any data atm.
every global declaration of function have been changed from
global function_name
to
global function_name:function
|
|
the manual of yasm says that we should avoid declaring [BITS ...]
explicitely.
|
|
the files with '.s' extension are not properly displayed by github.
|
|
This commit includes the following functions:
* list_init
* list_new_raw
* list_new
* list_append
* list_apply
Everything seems to work well but nothing has been optimized so there is
a lot of work remaining.
|