<feed xmlns='http://www.w3.org/2005/Atom'>
<title>list_x86_64.git, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sigexec.com/cgit.cgi/list_x86_64.git/atom?h=master</id>
<link rel='self' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/'/>
<updated>2014-02-17T00:49:25+00:00</updated>
<entry>
<title>add the function list_insert.</title>
<updated>2014-02-17T00:49:25+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-17T00:49:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=45376fd12154eac48069a5c19c4e3b268f27f98a'/>
<id>urn:sha1:45376fd12154eac48069a5c19c4e3b268f27f98a</id>
<content type='text'>
the function inserts a new element at the position specified in its
third argument.

example:

list_clear(&amp;list);
list_insert(&amp;list, 2, 0);
list_insert(&amp;list, 1, 0);
list_insert(&amp;list, 3, 2);
list_insert(&amp;list, 0, 0);

the list will contain [0, 1, 2, 3]
</content>
</entry>
<entry>
<title>split the unique file in two parts</title>
<updated>2014-02-14T02:40:08+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T02:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=10feec2708dadeb3adfe81844b1766691b9d058a'/>
<id>urn:sha1:10feec2708dadeb3adfe81844b1766691b9d058a</id>
<content type='text'>
we splitted the implementation of the functions to the commented
declaration so that one can only read the public file and understand
what the library does without having to read the actual code.
</content>
</entry>
<entry>
<title>fix a missing colon after a label</title>
<updated>2014-02-14T02:37:59+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T02:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=6ed92c78c626c542638371e152c553350581d606'/>
<id>urn:sha1:6ed92c78c626c542638371e152c553350581d606</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a function which clears a list</title>
<updated>2014-02-14T02:24:56+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T02:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=d4ddec9e127160ea498d8364d8c060882c035175'/>
<id>urn:sha1:d4ddec9e127160ea498d8364d8c060882c035175</id>
<content type='text'>
list_clear(&amp;plist)

the function will run through every elements and clear them.
the prehead is updated (first and size are set to 0)
</content>
</entry>
<entry>
<title>consider that list_init is a leaf function</title>
<updated>2014-02-14T02:24:56+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T00:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=7a20f366cde4717d0decc6228eb844af1f5ef2a0'/>
<id>urn:sha1:7a20f366cde4717d0decc6228eb844af1f5ef2a0</id>
<content type='text'>
leaf functions do not have to contain a prologue nor an epilogue.
</content>
</entry>
<entry>
<title>use a structure to define a list and an element</title>
<updated>2014-02-14T02:24:51+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T00:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=08bda4d37253d9c187372100a7017447735e0096'/>
<id>urn:sha1:08bda4d37253d9c187372100a7017447735e0096</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>use local labels wherever possible</title>
<updated>2014-02-14T00:47:26+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T00:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=7ce8ef940c69188e09e75c317270733611e51eaa'/>
<id>urn:sha1:7ce8ef940c69188e09e75c317270733611e51eaa</id>
<content type='text'>
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:
</content>
</entry>
<entry>
<title>explicitely set global data items type</title>
<updated>2014-02-14T00:42:02+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T00:38:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=f891716549d3ba7985f8afb424efab4eee234130'/>
<id>urn:sha1:f891716549d3ba7985f8afb424efab4eee234130</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>remove the explicit [BITS 64]</title>
<updated>2014-02-14T00:42:02+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-14T00:35:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=da59b83f6eca5a492c1a2923290a1146b366a911'/>
<id>urn:sha1:da59b83f6eca5a492c1a2923290a1146b366a911</id>
<content type='text'>
the manual of yasm says that we should avoid declaring [BITS ...]
explicitely.
</content>
</entry>
<entry>
<title>rename list.s in list.asm</title>
<updated>2014-02-14T00:41:53+00:00</updated>
<author>
<name>Olivier Gayot</name>
<email>duskcoder@gmail.com</email>
</author>
<published>2014-02-06T20:25:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.sigexec.com/cgit.cgi/list_x86_64.git/commit/?id=e049fbc7fe8f8661bc717dad2749e09b269a8737'/>
<id>urn:sha1:e049fbc7fe8f8661bc717dad2749e09b269a8737</id>
<content type='text'>
the files with '.s' extension are not properly displayed by github.
</content>
</entry>
</feed>
