1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-01 05:41:31 +00:00
8bitworkshop/presets/x86/skeleton.yasm

12 lines
190 B
Plaintext
Raw Permalink Normal View History

section .text
org 100h
mov dx,msg ; DX = string address
mov ah,9 ; 9 = "draw string"
int 21h
mov ah,4Ch ; 4ch = "exit to OS"
int 21h
section .data
msg db 'Hello, World!',0Dh,0Ah,'$'