mirror of
https://github.com/cc65/cc65.git
synced 2024-11-04 02:05:13 +00:00
22 lines
378 B
ArmAsm
22 lines
378 B
ArmAsm
|
;
|
||
|
; Oliver Schmidt, 14.09.2009
|
||
|
;
|
||
|
; void rebootafterexit (void);
|
||
|
;
|
||
|
|
||
|
.constructor initreboot
|
||
|
.export _rebootafterexit
|
||
|
.import done, return
|
||
|
|
||
|
_rebootafterexit := return
|
||
|
|
||
|
.segment "INIT"
|
||
|
|
||
|
initreboot:
|
||
|
; Quit to PWRUP
|
||
|
lda #<$FAA6
|
||
|
ldx #>$FAA6
|
||
|
sta done
|
||
|
stx done+1
|
||
|
rts
|