2
Startup code for WinCE port of Free Pascal
3
Written by Yury Sidorov, 2005.
7
@ for kernel exception handler, must be directly before ___EH_CODE_START__
9
.word _ARM_ExceptionHandler
16
.globl _mainCRTStartup
21
.globl WinMainCRTStartup
23
.globl _WinMainCRTStartup
37
.long U_SYSTEM_ISCONSOLE
68
.ascii "ExitThread\000"
73
.ascii "coredll.dll\000"
75
@ for kernel exception handler
77
.word __EH_CODE_START__
78
@ max 22 bits for number of instructions
79
.word 0xc0000002 | (0xFFFFF << 8)