Code Monkey home page Code Monkey logo

nasm-assembly-examples's Introduction

nasm-assembly-examples

Getting Started

#<file>-name of your asm file.

nasm -f elf64 <file>.asm -o <file>.o

# Note! You need to specify the format for a output file. Default is bin.

gcc <file>.o -o <file>

Execute script:

./<file>

see list numbers of interrups

cat /usr/include/asm/unistd_64.h

objdump usefull command:

objdump -drwC -Mintel

Great Books great reference https://www.felixcloutier.com/x86/index.html

  1. http://www.stolyarov.info/books/asm_unix (russian)
  2. https://www.ozon.ru/context/detail/id/4579142/ (russian)
  3. Linux inside https://0xax.gitbooks.io/linux-insides/content/Theory/linux-theory-2.html
  4. deep c https://www.slideshare.net/olvemaudal/deep-c/22-What_will_happen_if_you
  5. Linux syscalls table http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/
  6. Good articles about static and dynamic linking: http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html http://www.tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html https://amir.rachum.com/blog/2016/09/17/shared-libraries/ https://renenyffenegger.ch/notes/development/languages/C-C-plus-plus/GCC/create-libraries/index https://littleosbook.github.io/

nasm-assembly-examples's People

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.