Code Monkey home page Code Monkey logo

assembly-algorithms's Introduction

Assembly Algorithms ๐Ÿš€

Welcome to the Assembly Algorithms code repository where we dive into the world of assembly to implement iconic computer science algorithms in pure assembly! ๐Ÿ’ป

What is this repository? ๐Ÿ”Ž

This repository contains algorithms implemented in pure assembly language. It will be added to continuously to include more algorithms. It's designed to teach, inspire, and challenge programmers to understand and appreciate the power of assembly language - the closest form of communication we have to our underlying systems.

Why learn assembly? ๐Ÿค”

  • Speed: Experience the enhanced performance of code that's just a step away from binary.
  • Understanding: Learn how higher-level constructs are built by controlling the CPU directly.
  • Appreciation: Gain a newfound respect for compilers and high-level languages.
  • Fun: There's a unique joy in making things work in assembly, and we're here to find it.

Getting Started ๐Ÿƒ

Here's how to get started:

  1. Clone this repository: git clone https://github.com/LaurieWired/Assembly-Algorithms.git
  2. Pick an algorithm: Browse the repository and choose an algorithm to sink your teeth into.
  3. Use the default code or fill in your own version: If you want to write your own version, simply go to the algorithm_fillable.s file and add your own code.
  4. Generate the executable: Assemble the algorithm file and create the executable. For ARMv7, use the following:
arm-linux-gnueabi-as algorithm.s -o algorithm.o			# Update "algorithm" to the selected algorithm name
arm-linux-gnueabi-gcc -static algorithm.o -o algorithm
  1. Run the code: Either run the executable directly or call ./run_algorithm.sh to visualize the algorithm.

Accompanying Videos ๐Ÿ“น

If you want more explanations of the algorithm, follow the accompanying video explanation on YouTube!

assembly-algorithms's People

Contributors

lauriewired 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.