CSEG segment assume CS CSEG DS CSEG ES CSEG SS CSEG org 100h _start mo

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
CSEG segment
assume CS:CSEG, DS:CSEG, ES:CSEG, SS:CSEG
org 100h
_start:
mov sp, offset OoOo
mov ax, 9090h
push ax
int 20h
OoOo:
mov ah, 9
mov dx, offset String
int 21h
int 20h
String DB 'o_O$'
CSEG ends
end _start