Giter Club home page Giter Club logo

linkedlist-in-asm8086's Introduction

LinkedList-in-asm8086

Linked List data structure implemented in Assembly 8086

You can read the basic explanation from PoulDev/LinkedList-in-C

Allocating a new value (object) to memory

the FIND_AVAIBLE_MEMORY procedure searches for two adjacent memory cells that are empty ( that I'll call object ), the first one will be used to store the value, and in the second one will be stored the pointer to the next object

Linking a new value

LINK_VALUE works by itering all the objects to find the last one, that can be recognized because it has 0xFF as the value for the pointer. At that point it writes the new object memory address over the old value ( that was 0xFF )

Itering the Linked List

How does it iters through the linked list? It starts from the first object and it reads his pointer value. If the pointer value is 0xFF it stops, otherwise it read the pointer value of the pointed object and continues the check on that new object this continues until it reach one object that has 0xFF as the pointer

Object Structure:

Value Pointer
1337 0xFF

linkedlist-in-asm8086's People

Contributors

pouldev avatar

Stargazers

Lorix avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.