fpc/rtl/msdos/prt0.asm
nickysn 2393cd5eef added DebugWrite and DebugWriteLn to the minimal msdos rtl
git-svn-id: branches/i8086@23753 -
2013-03-09 18:29:23 +00:00

22 lines
246 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
resb 4096
stacktop:
group dgroup stack