Giter Site home page Giter Site logo

assembly-heapsort's Introduction

Heapsort in AVR Assembly

This is an implementation of the heapsort algorithm in AVR assembly. This algorithm lends itself to a relatively simple assembly implementation because it is both iterative and in place, requiring no recursive calls or extra space to complete.

Requirements

You will need some sort of AVR simulator and assembler. Microchip, a manufacturer of AVR instruction set microprocessors, has released the Atmel Studio simulator for free on their website.

Download Atmel Studio 7

This program is Windows only, and is quite large. You easily can find other AVR simulators and assemblers that are smaller or will work on other platforms on the internet through a quick Google search.

Limitations

Since the registers on the Atmega328P are 8 bit, you can only work with numbers between -127 and 127, accounting for the 8th sign bit. This also means you can sort at most 127 numbers at a time.

assembly-heapsort's People

Contributors

joshuaspring9 avatar

Stargazers

 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.