Skip to content

Fizzbuzz, but written in Assembly. Easier said than done

Notifications You must be signed in to change notification settings

Aliijjn/FizzBuzz_ASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

FizzBuzz_ASM

Welcome to my first Assembly project, which is FizzBuzz. While it's usually an easy exercise, doing it in Assembly was extremely tedious, yet challenging.

What I've learned from this project: ✅

  • The basics of Assembly
  • How C code translates into Assembly

Dependencies to run the file: ⚙️

  • nasm (assembler for x86-64 Intel assembly on Linux)
  • ld (linker, turns object file into an executable)

How to run the file: (Linux only)

While in the same directory as FizzBuzz.asm run the following commands:

nasm -f elf64 -o FizzBuzz.o FizzBuzz.asm

ld FizzBuzz.o -o FizzBuzz

./FizzBuzz

This will be the output (until 100):

unnamed

Alijn Kuijer, October 2024

About

Fizzbuzz, but written in Assembly. Easier said than done

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published