Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theluqmn/orca-nasm
A general-purpose CLI-based project made using NASM-compiled x86 64-bit Assembly.
https://github.com/theluqmn/orca-nasm
asm asmx86 assembly assembly-x86 hello-world
Last synced: 13 days ago
JSON representation
A general-purpose CLI-based project made using NASM-compiled x86 64-bit Assembly.
- Host: GitHub
- URL: https://github.com/theluqmn/orca-nasm
- Owner: theluqmn
- License: mit
- Created: 2024-05-15T06:27:26.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-01T05:51:59.000Z (9 months ago)
- Last Synced: 2024-12-03T04:17:50.659Z (2 months ago)
- Topics: asm, asmx86, assembly, assembly-x86, hello-world
- Language: Assembly
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Orca NASM-based (Orca-NASM)
**Assembled using the [NASM](https://nasm.us) assembler, x86 64-bit.**
## Overview
A multi-purpose, CLI-based program I made for fun, and to get myself used to coding in the Assembly language.
## Available functions
I cannot guarantee that all the listed functions work as intended whilst you are reading this `READM.md`. This project is being worked on bit by bit from time to time, and the commits I made are not necessarily containing 100% fully working code.
### `calc`
Basic calculator. Does the basic 4 arithmetic operations, **addition**, **subtraction**, **multiplication** and **division**.
### `help`
Displays the commands, and some basic tips.
### `exit`
Exits the program (the proper way). Another way is via `CTRL+C`.
## How do I run this script?
You will need the [NASM](https://nasm.us) assembler installed, on your system and PATH.
### Assemble `script.asm` to `script.o`
Run the following command on your terminal:
```bash
nasm -f elf64 script.asm
```This will output an object file (`script.o`)
### Convert `script.o` to `script`
In order to run the script, you have to do this one last conversion. Run the following command:
```bash
ld script.o -o script
```### Run the `script`
You can now run the script. Go to the file location of `script`, and run the following:
```bash
./script
```## Feedbacks/Suggestions
If you have any feedbacks or suggestions, please contact me (all the links are available on my [profile](https://github.com/luqmanually))