* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / bootblocks / bb_init1.s
blob41c39cb1453f91f46ed7c9b0a6e073077480867a
1 ORGADDR=0x0600
3 .org ORGADDR
4 entry start
5 public start
6 start:
7 cld
8 xor ax,ax
9 mov si,#$7C00
10 mov di,#ORGADDR
12 mov ss,ax
13 mov sp,si ! ax, di or si
15 push ax
16 pop ds
17 push ax
18 pop es
20 mov cx,#256
21 rep
22 movsw
23 jmpi go,#0
24 go: