GithubHelp home page GithubHelp logo

shannarra / my_libasm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

A university project consisting of creating some important STDC functions in x86_64 ASM.

License: MIT License

C 63.00% Assembly 33.01% Makefile 3.99%

my_libasm's Introduction

my_libasm

A university project consisting of creating some important STDC functions in x86_64 ASM.

Contents

This repo implements a couple of STDC functions in pure assembly and calls them over in c. The functions implemented are:

[STDC name] -> project name

  • strlen -> my_strlen

  • strchr -> my_strchr

  • memset -> my_memset

  • memcpy -> my_memcpy

  • strcmp -> my_strcmp

  • memmove -> my_memmove

  • strncmp -> my_strncmp

  • strcasecmp -> my_strcasecmp

  • index -> my_index

  • read -> my_read

  • write -> my_write

Prerequisites

You will need:

  • Netwide Assembler (nasm) and a 64-bit processor (duuh...)
  • gcc, I am using 9.4.0 as of writing this project readme.
  • make

Running:

Just run

make re && ./my_libasm

Note that "re" is optional and is useful if you want to rebuild every time you run the app. Useful for development.

Authors and contributing

Petar Angelov (Shannarra).

If you want to contribute to this project just open a PR with your changes.

my_libasm's People

Contributors

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