mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
22 lines
305 B
ArmAsm
22 lines
305 B
ArmAsm
.text
|
|
.section .preinit_array,"aw"
|
|
.short 42
|
|
|
|
.section .init_array,"aw"
|
|
.short 43
|
|
|
|
.section .fini_array,"aw"
|
|
.short 44
|
|
|
|
.text
|
|
.global main
|
|
.type main, @function
|
|
main:
|
|
MOV #__preinit_array_start, R8
|
|
MOV #__init_array_start, R9
|
|
MOV #__fini_array_start, R10
|
|
CALL @R8
|
|
CALL @R9
|
|
CALL @R10
|
|
RET
|