mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
7c9171ee87
git-svn-id: svn://svn.cc65.org/cc65/trunk@5985 b7a2c559-68d2-44c3-8de9-860c34a00d81
22 lines
385 B
ArmAsm
22 lines
385 B
ArmAsm
;
|
|
; Oliver Schmidt, 14.09.2009
|
|
;
|
|
; void rebootafterexit (void);
|
|
;
|
|
|
|
.constructor initreboot, 11
|
|
.export _rebootafterexit
|
|
.import done, return
|
|
|
|
_rebootafterexit := return
|
|
|
|
.segment "INIT"
|
|
|
|
initreboot:
|
|
; Quit to PWRUP
|
|
lda #<$FAA6
|
|
ldx #>$FAA6
|
|
sta done
|
|
stx done+1
|
|
rts
|