https://github.com/sachin-acharya-projects/assembly-language-compiler
This just an automation of Assembly Language Translation
https://github.com/sachin-acharya-projects/assembly-language-compiler
Last synced: 3 months ago
JSON representation
This just an automation of Assembly Language Translation
- Host: GitHub
- URL: https://github.com/sachin-acharya-projects/assembly-language-compiler
- Owner: sachin-acharya-projects
- Created: 2022-06-30T16:55:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T15:40:41.000Z (7 months ago)
- Last Synced: 2024-10-28T17:47:54.587Z (7 months ago)
- Language: Python
- Size: 14.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# assembly-language-compiler
This just an automation of Assembly Language Translation. This file only execute certain commands to translate assembly code.#### Install
**Installation Source Files**
(_Choose one of the following installer_)
1. Bash Script````
wget https://github.com/sachin-acharya-projects/assembly-language-compiler/raw/main/installer.sh
````
2. Binary Installer````
wget https://github.com/sachin-acharya-projects/assembly-language-compiler/raw/main/installer
````
3. Python File````
wget https://github.com/sachin-acharya-projects/assembly-language-compiler/raw/main/installer.py
````
````
chmod +x installer.sh
````
````
./installer.sh
````
**Cloning from Github Repository**
1. Clone Github Repository````
https://github.com/sachin-acharya-projects/assembly-language-compiler.git
````2. Change Directory
````
cd assembly-language-compiler
````3. Change Mode
````
chmod +x compiler
````4. Execute File
````
./compiler [assembly_program] # Output to the folder as program name
````
5. Package Installation
````
sudo apt install as31 nasm
````
#### Comamnd Used
````
nasm -f elf64 assembly_program_name.asm
ld -s -o assembly_program_name assembly_program_name.o
./assembly_program_name
````