Skip to content

Instantly share code, notes, and snippets.

View kneels's full-sized avatar

kneels

View GitHub Profile
@kneels
kneels / fizzbuzz.s
Last active July 2, 2022 15:49
x86 Assembly FizzBuzz
section .text
global _start
_start: ; entry point
mov ecx, 1 ; set loop counter
loop_main:
push ecx ; save loop counter
xor dx, dx ; reset dx
mov ax, cx