Singly-linked list/Element insertion: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1,424: | Line 1,424: | ||
=={{header|X86 Assembly}}== |
=={{header|X86 Assembly}}== |
||
Singly-linked list definition page contains contents of |
|||
Linked_List_Definition.asm. Heap_Alloc.asm is my own |
|||
implementation of a heap memory management system. It is |
|||
basic, small and not extensively tested, but it's worked |
|||
for me 100% of the time so far. At the time of this posting |
|||
the code for Heap_Alloc.asm was not posted anywhere on rosetta |
|||
code. I will post somewhere in the near future, probably in |
|||
the memory allocation task. |
|||
<lang x86asm> |
<lang x86asm> |
||
; x86_64 Linux NASM |
; x86_64 Linux NASM |
||
Line 1,441: | Line 1,431: | ||
%define INSERT |
%define INSERT |
||
%include "Linked_List_Definition.asm" |
%include "Linked_List_Definition.asm" ; see LL def task |
||
%include "Heap_Alloc.asm" |
%include "Heap_Alloc.asm" ; see memory allocation task |
||
section .text |
section .text |