fpc/rtl/msdos/prt0.asm
nickysn 867a0de37c segment stack declared of class stack to make wlink happy
git-svn-id: branches/i8086@23786 -
2013-03-10 21:37:16 +00:00

22 lines
258 B
NASM

; nasm -f obj -o prt0.o prt0.asm
cpu 8086
segment text use16
extern PASCALMAIN
..start:
mov ax, dgroup
mov ss, ax
mov sp, stacktop
mov ds, ax
mov es, ax
jmp PASCALMAIN
segment stack stack class=stack
resb 4096
stacktop:
group dgroup stack