Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Notes

Algorithm: Assuming inserting entry I between entries X and Y (for more details, read Linked lists):

Code Block
languagenone
*I = X XOR Y
*X = *X XOR Y XOR I
*Y = *Y XOR X XOR I     

If X and Y are zero then the link is cleared.

Related calls

GN_Xdl, delete an entry from a linked list 
GN_Xnx, index next entry in linked list