diff options
Diffstat (limited to 'asm/task.s')
-rw-r--r-- | asm/task.s | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/asm/task.s b/asm/task.s index fbfdd1e70..27bfaed69 100644 --- a/asm/task.s +++ b/asm/task.s @@ -1,6 +1,6 @@ thumb_func_start clear_tasks -; void clear_tasks() -clear_tasks: ; 80A8F50 +@ void clear_tasks() +clear_tasks: @ 80A8F50 push {r4-r7,lr} movs r4, 0 ldr r6, =0x03005e00 @@ -46,8 +46,8 @@ _080A8F5A: thumb_func_end clear_tasks thumb_func_start AddTask -; int AddTask(void ( *func)(int task_id), u8 priority) -AddTask: ; 80A8FB0 +@ int AddTask(void ( *func)(int task_id), u8 priority) +AddTask: @ 80A8FB0 push {r4-r7,lr} adds r2, r0, 0 lsls r1, 24 @@ -91,8 +91,8 @@ _080A8FFC: thumb_func_end AddTask thumb_func_start insert_task_in_order_by_priority -; void insert_task_in_order_by_priority(int task_id) -insert_task_in_order_by_priority: ; 80A9004 +@ void insert_task_in_order_by_priority(int task_id) +insert_task_in_order_by_priority: @ 80A9004 push {r4-r7,lr} mov r7, r8 push {r7} @@ -173,8 +173,8 @@ _080A9090: thumb_func_end insert_task_in_order_by_priority thumb_func_start remove_task -; void remove_task(int task_id) -remove_task: ; 80A909C +@ void remove_task(int task_id) +remove_task: @ 80A909C push {r4,lr} lsls r0, 24 lsrs r0, 24 @@ -236,8 +236,8 @@ _080A9106: thumb_func_end remove_task thumb_func_start RunActiveTasks -; void RunActiveTasks() -RunActiveTasks: ; 80A910C +@ void RunActiveTasks() +RunActiveTasks: @ 80A910C push {r4,r5,lr} bl get_first_active_task lsls r0, 24 @@ -263,8 +263,8 @@ _080A9130: thumb_func_end RunActiveTasks thumb_func_start get_first_active_task -; int get_first_active_task() -get_first_active_task: ; 80A913C +@ int get_first_active_task() +get_first_active_task: @ 80A913C push {lr} movs r2, 0 ldr r0, =0x03005e00 @@ -299,12 +299,12 @@ _080A916E: thumb_func_end get_first_active_task thumb_func_start nullsub_4 -nullsub_4: ; 80A9178 +nullsub_4: @ 80A9178 bx lr thumb_func_end nullsub_4 thumb_func_start set_task_function_and_args_14_15 -set_task_function_and_args_14_15: ; 80A917C +set_task_function_and_args_14_15: @ 80A917C push {r4,r5,lr} lsls r0, 24 lsrs r0, 24 @@ -332,7 +332,7 @@ set_task_function_and_args_14_15: ; 80A917C thumb_func_end set_task_function_and_args_14_15 thumb_func_start set_task_function_to_args_14_15 -set_task_function_to_args_14_15: ; 80A91B0 +set_task_function_to_args_14_15: @ 80A91B0 push {r4,lr} lsls r0, 24 lsrs r0, 24 @@ -360,8 +360,8 @@ set_task_function_to_args_14_15: ; 80A91B0 thumb_func_end set_task_function_to_args_14_15 thumb_func_start is_function_an_active_task -; int is_function_an_active_task(void ( *func)(int task_id)) -is_function_an_active_task: ; 80A91E4 +@ int is_function_an_active_task(void ( *func)(int task_id)) +is_function_an_active_task: @ 80A91E4 push {r4,lr} adds r3, r0, 0 movs r2, 0 @@ -394,8 +394,8 @@ _080A9214: thumb_func_end is_function_an_active_task thumb_func_start get_task_id_by_function -; int get_task_id_by_function(void ( *func)(int task_id)) -get_task_id_by_function: ; 80A921C +@ int get_task_id_by_function(void ( *func)(int task_id)) +get_task_id_by_function: @ 80A921C push {lr} adds r3, r0, 0 movs r2, 0 @@ -423,7 +423,7 @@ _080A9246: thumb_func_end get_task_id_by_function thumb_func_start sub_80A924C -sub_80A924C: ; 80A924C +sub_80A924C: @ 80A924C push {lr} movs r2, 0 movs r1, 0 @@ -452,7 +452,7 @@ _080A9268: thumb_func_end sub_80A924C thumb_func_start set_word_task_arg -set_word_task_arg: ; 80A927C +set_word_task_arg: @ 80A927C push {r4,r5,lr} adds r5, r2, 0 lsls r0, 24 @@ -484,7 +484,7 @@ _080A92AA: thumb_func_end set_word_task_arg thumb_func_start get_word_task_arg -get_word_task_arg: ; 80A92B4 +get_word_task_arg: @ 80A92B4 push {r4,lr} lsls r0, 24 lsrs r4, r0, 24 |