2
$Id: prt0.as,v 1.7 2004/05/13 01:15:42 karoly Exp $
5
This file is part of the Free Pascal run time library.
6
Copyright (c) 2004 by Karoly Balogh for Genesi Sarl.
8
Thanks for Martin 'MarK' Kuchinka <kuchinka@volny.cz>
11
See the file COPYING.FPC, included in this distribution,
12
for details about the copyright.
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY;without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29
/* Save Stackpointer */
30
lis 4,OriginalStkPtr@ha
31
stw 1,OriginalStkPtr@l(4)
42
/* Restore Stackpointer */
43
lis 4,OriginalStkPtr@ha
44
lwz 1,OriginalStkPtr@l(4)
67
/* This is needed to be a proper MOS ABox executable */
68
/* This symbol _MUST NOT_ be stripped out from the executable */
71
.type __abox__,@object
78
Revision 1.7 2004/05/13 01:15:42 karoly
79
- removed comment about argc/argv, made it work another way
81
Revision 1.6 2004/05/01 15:08:57 karoly
82
+ haltproc added, saving/restoring stackpointer added
84
Revision 1.5 2004/04/21 03:24:55 karoly
85
* rewritten to be similar to GCC startup code
87
Revision 1.4 2004/04/09 04:02:43 karoly
88
* abox id symbol fixed
90
Revision 1.3 2004/04/09 02:58:15 karoly
93
Revision 1.1 2004/03/16 10:29:22 karoly
94
* first implementation of some startup code for MOS