CSEG segment org 100h _start mov ax 0B800h mov es ax mov di mov al mov

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
CSEG segment
org 100h
_start:
mov ax, 0B800h
mov es, ax
mov di, 0
mov al, 1
mov ah, 31
mov cx, 2000
_print_faces:
mov es:[di], ax
add di, 2
loop _print_faces
mov ah, 10h
int 16h
int 20h
CSEG ends
end _start