ORG 0x7C00 start cli mov ax cs mov ds ax mov ss ax mov sp start sti mo

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[ORG 0x7C00]
start:
cli
mov ax, cs
mov ds, ax
mov ss, ax
mov sp, start
sti
mov si, msg
call kputs
cli
hlt
jmp short $
kputs:
.loop:
lodsb
test al, al
jz .quit
mov ah, 0x0E
int 0x10
jmp short .loop
.quit:
ret
msg: db "Fuck the world",0x0A,0x0D,0
times 510-($-$$) db 0
db 0xAA, 0x55