https://github.com/millsoft/assembler-hello-world
a simple hello world in assembler
https://github.com/millsoft/assembler-hello-world
Last synced: about 2 months ago
JSON representation
a simple hello world in assembler
- Host: GitHub
- URL: https://github.com/millsoft/assembler-hello-world
- Owner: millsoft
- Created: 2023-05-09T17:14:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T17:15:30.000Z (about 3 years ago)
- Last Synced: 2025-01-11T16:36:33.023Z (over 1 year ago)
- Language: Assembly
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assembler Hello World
here is a simple hello world for assembler.
## Requirments
- install gcc
## Run
```bash
# compile the assembler code like so:
as asem.asm -o asem.o && gcc -o asem asem.o -nostdlib -static
#execute the binary (chmod +x ./asem.out first)
./asem.out
```
## Shortest tutorial of how to code in assembly:
- google for a syscall table for your desired architecture
- use these syscall registers / values in your code.
- move values from/to registers to execute system calls
- profit