/ThreadX-v6.4.1/ports_module/rxv2/iar/module_manager/src/ |
D | txm_module_manager_thread_stack_build.s | 95 MOV.L 16[R1],R3 // Pickup end of stack area 101 MOV.L #30000h, R4 // make initial PSW (user stack, enable interrupts) 104 MOV.L R4, [-R3] // initial PSW 105 MOV.L R2, [-R3] // initial PC 107 …MOV.L 8[R1], R4 // Pickup thread entry info pointer, which is in the s… 110 … MOV.L R4,[-R3] // initial R2, which is the module entry information. 111 MOV.L R1,[-R3] // initial R1, which is the thread control block. 112 MOV.L #0, R2 // Clear following registers to 0 113 MOV.L R2,[-R3] // initial R5 114 MOV.L R2,[-R3] // initial R4 [all …]
|
D | tx_thread_schedule.s | 89 MOV.L #__tx_thread_execute_ptr, R1 // Address of thread to executer ptr 91 MOV.L [R1],R2 // Pickup next thread to execute 105 MOV.L #__tx_thread_current_ptr, R3 106 MOV.L R2,[R3] // Setup current thread pointer 111 MOV.L 4[R2],R3 // Pickup run count 113 MOV.L R3,4[R2] // Store it back in control block 118 MOV.L 24[R2],R3 // Pickup thread time-slice 119 MOV.L #__tx_timer_time_slice,R4 // Pickup pointer to time-slice 120 MOV.L R3, [R4] // Setup time-slice 125 MOV.L 8[R2],SP // Pickup stack pointer [all …]
|
D | tx_thread_stack_build.s | 102 MOV.L 16[R1],R3 ; Pickup end of stack area 108 MOV.L #30000h, R4 109 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 110 MOV.L R2, [-R3] ; Initial PC 111 MOV.L #0, R4 112 MOV.L R4,[-R3] ; Initial R2 ... 113 MOV.L R4,[-R3] ; Initial R1 ... 114 MOV.L R4,[-R3] ; Initial R5 ... 115 MOV.L R4,[-R3] ; Initial R4 ... 116 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.s | 97 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 98 MOV.L [R1], R2 ; Pick up system state 105 MOV.L r2, [r1] 125 MOV.L R2, [R1] 127 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 128 MOV.L [R2], R2 136 MOV.L 16[R0], R2 137 MOV.L R2, [-R1] ; Save PSW on thread stack 138 MOV.L 12[R0], R2 139 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
D | tx_timer_interrupt.s | 105 MOV.L #__tx_timer_system_clock, R1 ; Pickup address of system clock 106 MOV.L [R1], R2 ; Pickup system clock 108 MOV.L R2,[R1] ; Store new system clock 114 MOV.L #__tx_timer_time_slice, R1 ; Pickup address of time slice 115 MOV.L [R1], R2 ; Pickup the current time slice 123 MOV.L R2, [R1] ; Store time-slice 134 MOV.L #__tx_timer_expired_time_slice, R1 ; Pickup address of expired time-slice 135 MOV.L #1, R2 ; Build expired value 136 MOV.L R2, [R1] ; Set expired time slice variable 145 MOV.L #__tx_timer_current_ptr, R1 ; Pickup address of current timer ptr [all …]
|
/ThreadX-v6.4.1/ports/rxv3/iar/src/ |
D | tx_thread_stack_build.s | 104 MOV.L 16[R1],R3 ; Pickup end of stack area 110 MOV.L #30000h, R4 111 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 112 MOV.L R2, [-R3] ; Initial PC 113 MOV.L #0, R4 114 MOV.L R4,[-R3] ; Initial R2 ... 115 MOV.L R4,[-R3] ; Initial R1 ... 116 MOV.L R4,[-R3] ; Initial R5 ... 117 MOV.L R4,[-R3] ; Initial R4 ... 118 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.s | 101 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 102 MOV.L [R1], R2 ; Pick up system state 109 MOV.L r2, [r1] 129 MOV.L R2, [R1] 131 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 132 MOV.L [R2], R2 140 MOV.L 16[R0], R2 141 MOV.L R2, [-R1] ; Save PSW on thread stack 142 MOV.L 12[R0], R2 143 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
D | tx_timer_interrupt.s | 108 MOV.L #__tx_timer_system_clock, R1 ; Pickup address of system clock 109 MOV.L [R1], R2 ; Pickup system clock 111 MOV.L R2,[R1] ; Store new system clock 117 MOV.L #__tx_timer_time_slice, R1 ; Pickup address of time slice 118 MOV.L [R1], R2 ; Pickup the current time slice 126 MOV.L R2, [R1] ; Store time-slice 137 MOV.L #__tx_timer_expired_time_slice, R1 ; Pickup address of expired time-slice 138 MOV.L #1, R2 ; Build expired value 139 MOV.L R2, [R1] ; Set expired time slice variable 148 MOV.L #__tx_timer_current_ptr, R1 ; Pickup address of current timer ptr [all …]
|
/ThreadX-v6.4.1/ports/rxv2/gnu/src/ |
D | tx_thread_stack_build.S | 114 MOV.L 16[R1],R3 ; Pickup end of stack area 120 MOV.L #30000h, R4 121 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 122 MOV.L R2, [-R3] ; Initial PC 123 MOV.L #0, R4 124 MOV.L R4,[-R3] ; Initial R2 ... 125 MOV.L R4,[-R3] ; Initial R1 ... 126 MOV.L R4,[-R3] ; Initial R5 ... 127 MOV.L R4,[-R3] ; Initial R4 ... 128 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.S | 101 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 102 MOV.L [R1], R2 ; Pick up system state 109 MOV.L r2, [r1] 129 MOV.L R2, [R1] 131 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 132 MOV.L [R2], R2 140 MOV.L 16[R0], R2 141 MOV.L R2, [-R1] ; Save PSW on thread stack 142 MOV.L 12[R0], R2 143 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
D | tx_timer_interrupt.S | 121 MOV.L #__tx_timer_system_clock, R1 ; Pickup address of system clock 122 MOV.L [R1], R2 ; Pickup system clock 124 MOV.L R2,[R1] ; Store new system clock 130 MOV.L #__tx_timer_time_slice, R1 ; Pickup address of time slice 131 MOV.L [R1], R2 ; Pickup the current time slice 139 MOV.L R2, [R1] ; Store time-slice 150 MOV.L #__tx_timer_expired_time_slice, R1 ; Pickup address of expired time-slice 151 MOV.L #1, R2 ; Build expired value 152 MOV.L R2, [R1] ; Set expired time slice variable 161 MOV.L #__tx_timer_current_ptr, R1 ; Pickup address of current timer ptr [all …]
|
/ThreadX-v6.4.1/ports/rxv2/iar/src/ |
D | tx_thread_stack_build.s | 104 MOV.L 16[R1],R3 ; Pickup end of stack area 110 MOV.L #30000h, R4 111 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 112 MOV.L R2, [-R3] ; Initial PC 113 MOV.L #0, R4 114 MOV.L R4,[-R3] ; Initial R2 ... 115 MOV.L R4,[-R3] ; Initial R1 ... 116 MOV.L R4,[-R3] ; Initial R5 ... 117 MOV.L R4,[-R3] ; Initial R4 ... 118 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.s | 101 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 102 MOV.L [R1], R2 ; Pick up system state 109 MOV.L r2, [r1] 129 MOV.L R2, [R1] 131 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 132 MOV.L [R2], R2 140 MOV.L 16[R0], R2 141 MOV.L R2, [-R1] ; Save PSW on thread stack 142 MOV.L 12[R0], R2 143 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
D | tx_timer_interrupt.s | 107 MOV.L #__tx_timer_system_clock, R1 ; Pickup address of system clock 108 MOV.L [R1], R2 ; Pickup system clock 110 MOV.L R2,[R1] ; Store new system clock 116 MOV.L #__tx_timer_time_slice, R1 ; Pickup address of time slice 117 MOV.L [R1], R2 ; Pickup the current time slice 125 MOV.L R2, [R1] ; Store time-slice 136 MOV.L #__tx_timer_expired_time_slice, R1 ; Pickup address of expired time-slice 137 MOV.L #1, R2 ; Build expired value 138 MOV.L R2, [R1] ; Set expired time slice variable 147 MOV.L #__tx_timer_current_ptr, R1 ; Pickup address of current timer ptr [all …]
|
/ThreadX-v6.4.1/ports/rxv3/gnu/src/ |
D | tx_thread_stack_build.S | 112 MOV.L 16[R1],R3 ; Pickup end of stack area 118 MOV.L #30000h, R4 119 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 120 MOV.L R2, [-R3] ; Initial PC 121 MOV.L #0, R4 122 MOV.L R4,[-R3] ; Initial R2 ... 123 MOV.L R4,[-R3] ; Initial R1 ... 124 MOV.L R4,[-R3] ; Initial R5 ... 125 MOV.L R4,[-R3] ; Initial R4 ... 126 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.S | 101 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 102 MOV.L [R1], R2 ; Pick up system state 109 MOV.L r2, [r1] 129 MOV.L R2, [R1] 131 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 132 MOV.L [R2], R2 140 MOV.L 16[R0], R2 141 MOV.L R2, [-R1] ; Save PSW on thread stack 142 MOV.L 12[R0], R2 143 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
/ThreadX-v6.4.1/ports/rxv1/iar/src/ |
D | tx_thread_stack_build.s | 104 MOV.L 16[R1],R3 ; Pickup end of stack area 110 MOV.L #30000h, R4 111 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 112 MOV.L R2, [-R3] ; Initial PC 113 MOV.L #0, R4 114 MOV.L R4,[-R3] ; Initial R2 ... 115 MOV.L R4,[-R3] ; Initial R1 ... 116 MOV.L R4,[-R3] ; Initial R5 ... 117 MOV.L R4,[-R3] ; Initial R4 ... 118 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.s | 91 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 92 MOV.L [R1], R2 ; Pick up system state 99 MOV.L r2, [r1] 118 MOV.L R2, [R1] 120 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 121 MOV.L [R2], R2 129 MOV.L 16[R0], R2 130 MOV.L R2, [-R1] ; Save PSW on thread stack 131 MOV.L 12[R0], R2 132 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
D | tx_timer_interrupt.s | 107 MOV.L #__tx_timer_system_clock, R1 ; Pickup address of system clock 108 MOV.L [R1], R2 ; Pickup system clock 110 MOV.L R2,[R1] ; Store new system clock 116 MOV.L #__tx_timer_time_slice, R1 ; Pickup address of time slice 117 MOV.L [R1], R2 ; Pickup the current time slice 125 MOV.L R2, [R1] ; Store time-slice 136 MOV.L #__tx_timer_expired_time_slice, R1 ; Pickup address of expired time-slice 137 MOV.L #1, R2 ; Build expired value 138 MOV.L R2, [R1] ; Set expired time slice variable 147 MOV.L #__tx_timer_current_ptr, R1 ; Pickup address of current timer ptr [all …]
|
/ThreadX-v6.4.1/ports/rxv1/gnu/src/ |
D | tx_thread_stack_build.S | 103 MOV.L 16[R1],R3 ; Pickup end of stack area 109 MOV.L #30000h, R4 110 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 111 MOV.L R2, [-R3] ; Initial PC 112 MOV.L #0, R4 113 MOV.L R4,[-R3] ; Initial R2 ... 114 MOV.L R4,[-R3] ; Initial R1 ... 115 MOV.L R4,[-R3] ; Initial R5 ... 116 MOV.L R4,[-R3] ; Initial R4 ... 117 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
D | tx_thread_context_save.S | 91 MOV.L #__tx_thread_system_state, R1 ; Pick up address of system state 92 MOV.L [R1], R2 ; Pick up system state 99 MOV.L r2, [r1] 118 MOV.L R2, [R1] 120 MOV.L #__tx_thread_current_ptr, R2 ; Pickup current thread pointer 121 MOV.L [R2], R2 129 MOV.L 16[R0], R2 130 MOV.L R2, [-R1] ; Save PSW on thread stack 131 MOV.L 12[R0], R2 132 MOV.L R2, [-R1] ; Save PC on thread stack [all …]
|
D | tx_timer_interrupt.S | 108 MOV.L #__tx_timer_system_clock, R1 ; Pickup address of system clock 109 MOV.L [R1], R2 ; Pickup system clock 111 MOV.L R2,[R1] ; Store new system clock 117 MOV.L #__tx_timer_time_slice, R1 ; Pickup address of time slice 118 MOV.L [R1], R2 ; Pickup the current time slice 126 MOV.L R2, [R1] ; Store time-slice 137 MOV.L #__tx_timer_expired_time_slice, R1 ; Pickup address of expired time-slice 138 MOV.L #1, R2 ; Build expired value 139 MOV.L R2, [R1] ; Set expired time slice variable 148 MOV.L #__tx_timer_current_ptr, R1 ; Pickup address of current timer ptr [all …]
|
/ThreadX-v6.4.1/ports/rxv2/ccrx/src/ |
D | tx_thread_stack_build.src | 114 MOV.L 16[R1],R3 ; Pickup end of stack area 120 MOV.L #30000h, R4 121 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 122 MOV.L R2, [-R3] ; Initial PC 123 MOV.L #0, R4 124 MOV.L R4,[-R3] ; Initial R2 ... 125 MOV.L R4,[-R3] ; Initial R1 ... 126 MOV.L R4,[-R3] ; Initial R5 ... 127 MOV.L R4,[-R3] ; Initial R4 ... 128 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
/ThreadX-v6.4.1/ports/rxv3/ccrx/src/ |
D | tx_thread_stack_build.src | 112 MOV.L 16[R1],R3 ; Pickup end of stack area 118 MOV.L #30000h, R4 119 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 120 MOV.L R2, [-R3] ; Initial PC 121 MOV.L #0, R4 122 MOV.L R4,[-R3] ; Initial R2 ... 123 MOV.L R4,[-R3] ; Initial R1 ... 124 MOV.L R4,[-R3] ; Initial R5 ... 125 MOV.L R4,[-R3] ; Initial R4 ... 126 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|
/ThreadX-v6.4.1/ports/rxv1/ccrx/src/ |
D | tx_thread_stack_build.src | 112 MOV.L 16[R1],R3 ; Pickup end of stack area 118 MOV.L #30000h, R4 119 MOV.L R4, [-R3] ; Initial PSW (SVC mode, U flag set) 120 MOV.L R2, [-R3] ; Initial PC 121 MOV.L #0, R4 122 MOV.L R4,[-R3] ; Initial R2 ... 123 MOV.L R4,[-R3] ; Initial R1 ... 124 MOV.L R4,[-R3] ; Initial R5 ... 125 MOV.L R4,[-R3] ; Initial R4 ... 126 MOV.L R4,[-R3] ; Initial R3 ... [all …]
|