Skip to content

Simple math solving for math ecuations on .asm for i386 x86 on linux.

Notifications You must be signed in to change notification settings

Eriarer/ReversPolishNotationASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHAT IS THIS?

This is the final and relatively "basic" proyect for
a university class about assembly programing.
This project works only if you have:

  • GDB
  • Any c compiler (we used gcc)
  • NASM
  • It works on emulated architecture i386 x86.
  • It has been tested on Ubuntu and ArchLinux.

You can use this code for your personal use, but please mention at least one of the collaborators on this project.

Colaborators:
Andrew
Eriarer (me)
Gerardo
Leonardo
Mariana


HOT TO COMPILE

If you are using VSCode you can use a task we programmed
to run easaly the code. With the help of a simple extension
called Tasks a button called "create nasm" will appear at the end of your
screen. You can click it and it will run.

If you dont use VSCode you cant run it following the next commands:

  • cd ${fileDirname}
  • nasm -f elf32 ${fileBasename} -g -F dwarf
  • gcc -m32 ${fileBasenameNoExtension}.o printAnswer.c -o ${fileBasenameNoExtension} -no-pie
  • ./${fileBasenameNoExtension}

Or just simply go to the .asm file directory
and excecute the next commands:

  • nasm -f elf32 NPI.asm -g -G dwarf
  • gcc -m32 NPI.o printAnswer.c -o NPI -no-pie
  • ./NPI

That's all, thank you :D

About

Simple math solving for math ecuations on .asm for i386 x86 on linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages