1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-22 14:33:51 +00:00
8bitworkshop/presets/x86/skeleton.yasm

12 lines
190 B
Plaintext

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,'$'