Skip to content

Instantly share code, notes, and snippets.

View eli-rich's full-sized avatar

Eli Richardson eli-rich

View GitHub Profile
@eli-rich
eli-rich / show.nasm
Last active July 2, 2022 09:10
Trying to learn NASM
global _main
extern _printf
section .data
display: db "Enter a string: "
display_length: equ $ - display
out_str: db "Length: "
out_str_length equ $ - out_str
newline: db 10
fmt: db "%d", 0