Skip to content

sylhare/Assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembly

Getting started

To run the helloworld.asm example which needs to be coupled with a C library,

  • Windows go to a terminal:
nasm -fwin32 helloworld.asm
gcc helloworld.obj
a
  • Linux:
nasm -felf helloworld.asm
    gcc helloworld.o
    ./a.out

Too run the full assembly helloworld example use:

nasm hi.asm -o hi.com

Using flat assembler

Flat assembler is an assembler interpreter (kinda) which does not need any extra linker, making assembler proggramming easier. To try the hello.asm, run:

fasm hello.asm

This will create an executable.

Disassembler

A disassembler "uncompile" an assembler code, it can also be used as a debugger. They can also be used to do reverse engineering on binairies.

Some famous and multi platform open source ones:

  • radare 2:
    • Radare2 is an open source tool to disassemble, debug, analyze and manipulate binary files supporting many architectures and binary formats.

Sources

About

Assembleur language experimentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published