Skip to content

Instantly share code, notes, and snippets.

@LightningStalker
Created February 18, 2026 08:08
Show Gist options
  • Select an option

  • Save LightningStalker/cd7e2d9e51abd28bf1ee6726c31dc679 to your computer and use it in GitHub Desktop.

Select an option

Save LightningStalker/cd7e2d9e51abd28bf1ee6726c31dc679 to your computer and use it in GitHub Desktop.
fasm hello world DOS
; fasm hello world DOS
; Project Crew™ 2/16/2026
CR equ 13 ; carriage return
LF equ 10 ; line feed
org 100h
start:
mov ah, 9 ; Display String
mov dx, msg ; Pointer to string
int 21h ; DOS Function Request
mov ax, 4c00h ; quit time
int 21h
msg db "hello, world", CR, LF, '$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment