https://github.com/theofalso/assembly-learning
just for fun
https://github.com/theofalso/assembly-learning
assembly assembly-language calculator nasm-assembly x86-64
Last synced: 17 days ago
JSON representation
just for fun
- Host: GitHub
- URL: https://github.com/theofalso/assembly-learning
- Owner: theofalso
- Created: 2025-10-23T23:50:40.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-11-20T04:58:12.000Z (7 months ago)
- Last Synced: 2025-11-20T06:20:03.606Z (7 months ago)
- Topics: assembly, assembly-language, calculator, nasm-assembly, x86-64
- Language: Assembly
- Homepage:
- Size: 259 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assembly Learning
A curated collection of small x86 assembly projects and exercises designed for learning low-level programming, BIOS/boot development, and simple operating system concepts. The repository contains example programs, boot sectors, and an early-stage hobby OS with build scripts and notes.
## About
This repository is a hands-on learning collection. Each numbered folder is a focused exercise that demonstrates one concept (hello world, input/output, simple games, bootloader code, and a tiny OS). The materials are mainly targeted at learners using Windows (with WSL) or Linux environments.
## Quick start
Prerequisites (recommended):
- Windows with WSL (Ubuntu recommended) or a native Linux environment
- NASM (Netwide Assembler)
- GNU binutils (ld, objcopy) for linking/format conversions
- QEMU or Bochs to run boot/OS images in an emulator
Install on Ubuntu (WSL):
```powershell
# in WSL / Ubuntu
sudo apt update; sudo apt install -y nasm binutils qemu-system-x86
```
On Windows, many folders include `compilar.bat` to automate assembling/linking using your installed NASM and tools. You can also run the same commands inside WSL.
Note: Some examples are 16-bit (boot/real-mode) and some are 32/64-bit user programs; build flags differ. The examples below show general approaches — adapt the flags to the specific source.
## Resources
- See `useful-websites.txt` for curated external references used while building these exercises.