Skip to content

Sem 3 Elective | PUCSD | SPPU | x-86 Low Level Assembly Programs | NASM | gcc |

Notifications You must be signed in to change notification settings

chinu042/x-86-assembly-programs-nasm-gcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-86-assembly-programs-nasm-gcc

Low Level Assembly Programs Using NASM and GCC

Instruction

  1. To run these programs your system must have installed NASM and GCC.

  2. Open file with any terminal as per your convinience.

  3. Save the file.

  4. Open terminal having path as same folder.

  5. To run type below commands:


$ nasm -felf32 file_name.asm

$ gcc -m32 file_name.o

$ ./a.out
  1. To debug program use below commands:

$ nasm -felf32 -g -Fdwarf file_name.asm

$ gcc -m32 -g -Fdwarf file_name.o

$ ./a.out

Releases

No releases published

Packages

No packages published