]> git.sur5r.net Git - cc65/blob - libsrc/cbm610/mainargs.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81
[cc65] / libsrc / cbm610 / mainargs.s
1 ;
2 ; Ullrich von Bassewitz, 2003-03-07
3 ;
4 ; Setup arguments for main
5 ;
6
7
8         .constructor    initmainargs, 24
9         .import         __argc, __argv
10
11
12 ;---------------------------------------------------------------------------
13 ; Get possible command-line arguments. Goes into the special INIT segment,
14 ; which may be reused after the startup code is run
15
16 .segment        "INIT"
17
18 .proc   initmainargs
19
20         rts
21
22 .endproc
23
24