Skip to content

Shaunak-Natu/Calculator_Using_Assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Calculator

Simple command-line calculator program written in x86-64 assembly language for Linux.

Prerequisites

  • Linux operating system
  • NASM assembler
  • LD linker

Build and Run

  1. Clone the repository:

    git clone https://github.com/your-username/calculator.git
    cd calculator
  2. Build the program:

nasm -f elf64 calculator.asm -o calculator.o
ld calculator.o -o calculator
  1. Run:
./calculator

Example Output

Alt text

Alt text

Acknowledgements

  1. https://github.com/mjbrusso/util.asm

About

Simple calculator created using Assembly language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published