mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
d0bee35728
git-svn-id: svn://svn.cc65.org/cc65/trunk@3405 b7a2c559-68d2-44c3-8de9-860c34a00d81
25 lines
421 B
ArmAsm
25 lines
421 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 2004-10-08
|
|
;
|
|
; Setup arguments for main
|
|
;
|
|
|
|
|
|
.constructor initmainargs, 24
|
|
.import __argc, __argv
|
|
|
|
|
|
;---------------------------------------------------------------------------
|
|
; Get possible command-line arguments. Goes into the special INIT segment,
|
|
; which may be reused after the startup code is run
|
|
|
|
.segment "INIT"
|
|
|
|
.proc initmainargs
|
|
|
|
rts
|
|
|
|
.endproc
|
|
|
|
|