2021-08-02 23:49:18 +00:00
|
|
|
;; Initialization function (aka crt0)
|
2021-01-02 05:08:37 +00:00
|
|
|
|
2021-01-04 07:16:02 +00:00
|
|
|
__rrcc_init:
|
2021-01-02 13:55:40 +00:00
|
|
|
WRITE rrcc_STACK_POINTER, rrcc_STACK_START ; Reset Stack pointer to its starting position
|
2021-01-04 07:16:02 +00:00
|
|
|
CALL rrcc_USER_ENTRYPOINT ; Calls user-defined entrypoint
|
2021-01-02 09:30:32 +00:00
|
|
|
END ; Stops execution if it ever returns
|