mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-26 10:49:17 +00:00
12 lines
190 B
Plaintext
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,'$'
|