mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
23 lines
426 B
ArmAsm
23 lines
426 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-03-07
|
||
|
;
|
||
|
; 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
|