Skip to content

Stojak139808/NASM_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

NASM examples with C

This repository contains a bunch of NASM examplse, mostly to use it together with C. It acts as a learning ground for me and a cheat sheet on integrating assembly with C.

The idea is, compile x86 asm with nasm:

nasm -felf64 file.asm

and then link it with gcc:

gcc file.o -o bin

and if we wrote the code correctly (a proper PIE code), gcc should throw no errors and output bin.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published