summaryrefslogtreecommitdiff
path: root/tests/hello_world.s
blob: 893228715b7eaf1470b76f4664b6fbacebe59397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

.text
entry start
start:
mov ax,#4
mov bx,#1
mov cx,#hello
mov dx,#endhello-hello
int $80

mov bx,#0
mov ax,#1
int $80

.data
hello:
 .ascii "Hello world!\n"
endhello: