📄 os_cpu_c.lis
字号:
011E 8083 std z+0,R24
0120 .dbline 207
0120 ; *stk-- = (INT8U)0x19;
0120 1A01 movw R2,R20
0122 4150 subi R20,1
0124 5040 sbci R21,0
0126 89E1 ldi R24,25
0128 F101 movw R30,R2
012A 8083 std z+0,R24
012C .dbline 208
012C ; *stk-- = (INT8U)0x20;
012C 1A01 movw R2,R20
012E 4150 subi R20,1
0130 5040 sbci R21,0
0132 80E2 ldi R24,32
0134 F101 movw R30,R2
0136 8083 std z+0,R24
0138 .dbline 209
0138 ; *stk-- = (INT8U)0x21;
0138 1A01 movw R2,R20
013A 4150 subi R20,1
013C 5040 sbci R21,0
013E 81E2 ldi R24,33
0140 F101 movw R30,R2
0142 8083 std z+0,R24
0144 .dbline 210
0144 ; *stk-- = (INT8U)0x22;
0144 1A01 movw R2,R20
0146 4150 subi R20,1
0148 5040 sbci R21,0
014A 82E2 ldi R24,34
014C F101 movw R30,R2
014E 8083 std z+0,R24
0150 .dbline 211
0150 ; *stk-- = (INT8U)0x23;
0150 1A01 movw R2,R20
0152 4150 subi R20,1
0154 5040 sbci R21,0
0156 83E2 ldi R24,35
0158 F101 movw R30,R2
015A 8083 std z+0,R24
015C .dbline 212
015C ; *stk-- = (INT8U)0x24;
015C 1A01 movw R2,R20
015E 4150 subi R20,1
0160 5040 sbci R21,0
0162 84E2 ldi R24,36
0164 F101 movw R30,R2
0166 8083 std z+0,R24
0168 .dbline 213
0168 ; *stk-- = (INT8U)0x25;
0168 1A01 movw R2,R20
016A 4150 subi R20,1
016C 5040 sbci R21,0
016E 85E2 ldi R24,37
0170 F101 movw R30,R2
0172 8083 std z+0,R24
0174 .dbline 214
0174 ; *stk-- = (INT8U)0x26;
0174 1A01 movw R2,R20
0176 4150 subi R20,1
0178 5040 sbci R21,0
017A 86E2 ldi R24,38
017C F101 movw R30,R2
017E 8083 std z+0,R24
0180 .dbline 215
0180 ; *stk-- = (INT8U)0x27;
0180 1A01 movw R2,R20
0182 4150 subi R20,1
0184 5040 sbci R21,0
0186 87E2 ldi R24,39
0188 F101 movw R30,R2
018A 8083 std z+0,R24
018C .dbline 217
018C ; // the heap pointer Y=R29:R28 will not be stored
018C ; *stk-- = (INT8U)0x30;
018C 1A01 movw R2,R20
018E 4150 subi R20,1
0190 5040 sbci R21,0
0192 80E3 ldi R24,48
0194 F101 movw R30,R2
0196 8083 std z+0,R24
0198 .dbline 218
0198 ; *stk-- = (INT8U)0x31;
0198 1A01 movw R2,R20
019A 4150 subi R20,1
019C 5040 sbci R21,0
019E 81E3 ldi R24,49
01A0 F101 movw R30,R2
01A2 8083 std z+0,R24
01A4 .dbline 220
01A4 ; // *stk-- = (INT8U)0x3B;
01A4 ; *stk-- = (INT8U)0x80; //SREG = Interrupts enabled
01A4 1A01 movw R2,R20
01A6 4150 subi R20,1
01A8 5040 sbci R21,0
01AA 80E8 ldi R24,128
01AC F101 movw R30,R2
01AE 8083 std z+0,R24
01B0 .dbline 222
01B0 ;
01B0 ; tmp = (INT16U)(stks);
01B0 B501 movw R22,R10
01B2 .dbline 223
01B2 ; *stk-- = (INT8U)(tmp >> 8);
01B2 1A01 movw R2,R20
01B4 4150 subi R20,1
01B6 5040 sbci R21,0
01B8 2B01 movw R4,R22
01BA 452C mov R4,R5
01BC 5524 clr R5
01BE F101 movw R30,R2
01C0 4082 std z+0,R4
01C2 .dbline 224
01C2 ; *stk = (INT8U)(tmp);
01C2 FA01 movw R30,R20
01C4 6083 std z+0,R22
01C6 .dbline 225
01C6 ; return ((void *)stk);
01C6 8F01 movw R16,R30
01C8 .dbline -2
01C8 L7:
01C8 0E940000 xcall pop_gset3
01CC .dbline 0 ; func end
01CC 0895 ret
01CE .dbsym r stks 10 pc
01CE .dbsym r tmp 22 i
01CE .dbsym r stk 20 pc
01CE .dbsym l opt 8 i
01CE .dbsym l ptos 6 pc
01CE .dbsym r pdata 18 pV
01CE .dbsym r task 16 pfV
01CE .dbend
01CE .dbfunc e OSTaskSwHook _OSTaskSwHook fV
.even
01CE _OSTaskSwHook::
01CE .dbline -1
01CE .dbline 245
01CE ; }
01CE ; /*$PAGE*/
01CE ; /*
01CE ; *********************************************************************************************************
01CE ; * TASK SWITCH HOOK
01CE ; *
01CE ; * Description: This function is called when a task switch is performed. This allows you to perform other
01CE ; * operations during a context switch.
01CE ; *
01CE ; * Arguments : none
01CE ; *
01CE ; * Note(s) : 1) Interrupts are disabled during this call.
01CE ; * 2) It is assumed that the global pointer 'OSTCBHighRdy' points to the TCB of the task that
01CE ; * will be 'switched in' (i.e. the highest priority task) and, 'OSTCBCur' points to the
01CE ; * task being switched out (i.e. the preempted task).
01CE ; *********************************************************************************************************
01CE ; */
01CE ; #if (OS_CPU_HOOKS_EN > 0) && (OS_TASK_SW_HOOK_EN > 0)
01CE ; void OSTaskSwHook (void)
01CE ; {
01CE .dbline -2
01CE L8:
01CE .dbline 0 ; func end
01CE 0895 ret
01D0 .dbend
01D0 .dbfunc e OSTCBInitHook _OSTCBInitHook fV
01D0 ; ptcb -> R16,R17
.even
01D0 _OSTCBInitHook::
01D0 .dbline -1
01D0 .dbline 265
01D0 ; #ifdef OS_VIEW_MODULE
01D0 ; OSView_TaskSwHook();
01D0 ; #endif
01D0 ; }
01D0 ; #endif
01D0 ;
01D0 ; /*
01D0 ; *********************************************************************************************************
01D0 ; * OS_TCBInit() HOOK
01D0 ; *
01D0 ; * Description: This function is called by OS_TCBInit() after setting up most of the TCB.
01D0 ; *
01D0 ; * Arguments : ptcb is a pointer to the TCB of the task being created.
01D0 ; *
01D0 ; * Note(s) : 1) Interrupts may or may not be ENABLED during this call.
01D0 ; *********************************************************************************************************
01D0 ; */
01D0 ; #if OS_CPU_HOOKS_EN > 0 && OS_VERSION > 203
01D0 ; void OSTCBInitHook (OS_TCB *ptcb)
01D0 ; {
01D0 .dbline 266
01D0 ; ptcb = ptcb; /* Prevent Compiler warning */
01D0 .dbline -2
01D0 L9:
01D0 .dbline 0 ; func end
01D0 0895 ret
01D2 .dbsym r ptcb 16 pS[os_tcb]
01D2 .dbend
01D2 .dbfunc e OSTimeTickHook _OSTimeTickHook fV
.even
01D2 _OSTimeTickHook::
01D2 .dbline -1
01D2 .dbline 284
01D2 ; }
01D2 ; #endif
01D2 ;
01D2 ;
01D2 ; /*
01D2 ; *********************************************************************************************************
01D2 ; * TICK HOOK
01D2 ; *
01D2 ; * Description: This function is called every tick.
01D2 ; *
01D2 ; * Arguments : none
01D2 ; *
01D2 ; * Note(s) : 1) Interrupts may or may not be ENABLED during this call.
01D2 ; *********************************************************************************************************
01D2 ; */
01D2 ; #if (OS_CPU_HOOKS_EN > 0) && (OS_TIME_TICK_HOOK_EN > 0)
01D2 ; void OSTimeTickHook (void)
01D2 ; {
01D2 .dbline -2
01D2 L10:
01D2 .dbline 0 ; func end
01D2 0895 ret
01D4 .dbend
.area bss(ram, con, rel)
0000 .dbfile C:\DOCUME~1\qihaijun\桌面\17_uCOSⅡ\ICC\os_cpu_c.c
0000 _OSTaskHardStkSize::
0000 .blkb 2
0002 .dbfile C:/DOCUME~1/qihaijun/桌面/17_uCOSⅡ/ICC/os_cpu.h
0002 .dbsym e OSTaskHardStkSize _OSTaskHardStkSize i
0002 _OSTaskStkSize::
0002 .blkb 2
0004 .dbsym e OSTaskStkSize _OSTaskStkSize i
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -