亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? os_cpu_c.s

?? 將本站的UCOSFORAVR128V276版本升級到了280版
?? S
?? 第 1 頁 / 共 2 頁
字號:
	.module os_cpu_c.c
	.area text(rom, con, rel)
	.dbfile E:\ypt050912\XIAZAI\xinzai\UCOSAVR128\ICC\os_cpu_c.c
	.dbfunc e OSInitHookBegin _OSInitHookBegin fV
	.even
_OSInitHookBegin::
	.dbline -1
	.dbline 31
; /*
; *********************************************************************************************************
; *                                              uC/OS-II
; *                                        The Real-Time Kernel
; * 
; *                                       ATmega128 Specific code
; *
; * File     : OS_CPU_C.C
; * By       : Ole Saether
; *            Jean J. Labrosse
; *********************************************************************************************************
; */
; 
; #define  OS_CPU_GLOBALS
; #include <includes.h>
; 
; /*
; *********************************************************************************************************
; *                                       OS INITIALIZATION HOOK
; *                                            (BEGINNING)
; *
; * Description: This function is called by OSInit() at the beginning of OSInit().
; *
; * Arguments  : none
; *
; * Note(s)    : 1) Interrupts should be disabled during this call.
; *********************************************************************************************************
; */
; #if OS_CPU_HOOKS_EN > 0 && OS_VERSION > 203
; void  OSInitHookBegin (void)
; {
	.dbline -2
L1:
	.dbline 0 ; func end
	ret
	.dbend
	.dbfunc e OSInitHookEnd _OSInitHookEnd fV
	.even
_OSInitHookEnd::
	.dbline -1
	.dbline 49
; }
; #endif
; 
; /*
; *********************************************************************************************************
; *                                       OS INITIALIZATION HOOK
; *                                               (END)
; *
; * Description: This function is called by OSInit() at the end of OSInit().
; *
; * Arguments  : none
; *
; * Note(s)    : 1) Interrupts should be disabled during this call.
; *********************************************************************************************************
; */
; #if OS_CPU_HOOKS_EN > 0 && OS_VERSION > 203
; void  OSInitHookEnd (void)
; {
	.dbline -2
L2:
	.dbline 0 ; func end
	ret
	.dbend
	.dbfunc e OSTaskCreateHook _OSTaskCreateHook fV
	.dbstruct 0 8 os_event
	.dbfield 0 OSEventType c
	.dbfield 1 OSEventPtr pV
	.dbfield 3 OSEventCnt i
	.dbfield 5 OSEventGrp c
	.dbfield 6 OSEventTbl A[2:2]c
	.dbend
	.dbstruct 0 18 os_tcb
	.dbfield 0 OSTCBStkPtr pc
	.dbfield 2 OSTCBNext pS[os_tcb]
	.dbfield 4 OSTCBPrev pS[os_tcb]
	.dbfield 6 OSTCBEventPtr pS[os_event]
	.dbfield 8 OSTCBDly i
	.dbfield 10 OSTCBStat c
	.dbfield 11 OSTCBPendTO c
	.dbfield 12 OSTCBPrio c
	.dbfield 13 OSTCBX c
	.dbfield 14 OSTCBY c
	.dbfield 15 OSTCBBitX c
	.dbfield 16 OSTCBBitY c
	.dbfield 17 OSTCBDelReq c
	.dbend
;           ptcb -> R0,R1
	.even
_OSTaskCreateHook::
	.dbline -1
	.dbline 67
; }
; #endif
; 
; /*$PAGE*/
; /*
; *********************************************************************************************************
; *                                          TASK CREATION HOOK
; *
; * Description: This function is called when a task is created.
; *
; * Arguments  : ptcb   is a pointer to the task control block of the task being created.
; *
; * Note(s)    : 1) Interrupts are disabled during this call.
; *********************************************************************************************************
; */
; #if OS_CPU_HOOKS_EN > 0 
; void  OSTaskCreateHook (OS_TCB *ptcb)
; {
	.dbline -2
L3:
	.dbline 0 ; func end
	ret
	.dbsym l ptcb 0 pS[os_tcb]
	.dbend
	.dbfunc e OSTaskDelHook _OSTaskDelHook fV
;           ptcb -> R16,R17
	.even
_OSTaskDelHook::
	.dbline -1
	.dbline 90
; #ifdef OS_VIEW_MODULE
; //    OSView_TaskCreateHook(ptcb);
; #else
;     ptcb = ptcb;                       /* Prevent compiler warning                                     */
; #endif
; }
; #endif
; 
; 
; /*
; *********************************************************************************************************
; *                                           TASK DELETION HOOK
; *
; * Description: This function is called when a task is deleted.
; *
; * Arguments  : ptcb   is a pointer to the task control block of the task being deleted.
; *
; * Note(s)    : 1) Interrupts are disabled during this call.
; *********************************************************************************************************
; */
; #if OS_CPU_HOOKS_EN > 0 
; void  OSTaskDelHook (OS_TCB *ptcb)
; {
	.dbline 91
;     ptcb = ptcb;                       /* Prevent compiler warning                                     */
	.dbline -2
L4:
	.dbline 0 ; func end
	ret
	.dbsym r ptcb 16 pS[os_tcb]
	.dbend
	.dbfunc e OSTaskIdleHook _OSTaskIdleHook fV
	.even
_OSTaskIdleHook::
	.dbline -1
	.dbline 109
; }
; #endif
; 
; /*
; *********************************************************************************************************
; *                                             IDLE TASK HOOK
; *
; * Description: This function is called by the idle task.  This hook has been added to allow you to do  
; *              such things as STOP the CPU to conserve power.
; *
; * Arguments  : none
; *
; * Note(s)    : 1) Interrupts are enabled during this call.
; *********************************************************************************************************
; */
; #if OS_CPU_HOOKS_EN > 0 && OS_VERSION >= 251
; void  OSTaskIdleHook (void)
; {
	.dbline -2
L5:
	.dbline 0 ; func end
	ret
	.dbend
	.dbfunc e OSTaskStatHook _OSTaskStatHook fV
	.even
_OSTaskStatHook::
	.dbline -1
	.dbline 126
; }
; #endif
; 
; /*
; *********************************************************************************************************
; *                                           STATISTIC TASK HOOK
; *
; * Description: This function is called every second by uC/OS-II's statistics task.  This allows your 
; *              application to add functionality to the statistics task.
; *
; * Arguments  : none
; *********************************************************************************************************
; */
; 
; #if OS_CPU_HOOKS_EN > 0 
; void  OSTaskStatHook (void)
; {
	.dbline -2
L6:
	.dbline 0 ; func end
	ret
	.dbend
	.dbfunc e OSTaskStkInit _OSTaskStkInit fpc
;      phard_stk -> R10,R11
;            tmp -> R22,R23
;      psoft_stk -> R20,R21
;            opt -> y+8
;           ptos -> y+6
;          p_arg -> R18,R19
;           task -> R16,R17
	.even
_OSTaskStkInit::
	xcall push_gset3
	.dbline -1
	.dbline 167
; }
; #endif
; 
; /*$PAGE*/
; /*
; **********************************************************************************************************
; *                                       INITIALIZE A TASK'S STACK
; *
; * Description: This function is called by either OSTaskCreate() or OSTaskCreateExt() to initialize the
; *              stack frame of the task being created. This function is highly processor specific.
; *
; * Arguments  : task          is a pointer to the task code
; *
; *              p_arg         is a pointer to a user supplied data area that will be passed to the task
; *                            when the task first executes.
; *
; *              ptos          is a pointer to the top of stack. It is assumed that 'ptos' points to the
; *                            highest valid address on the stack.
; *
; *              opt           specifies options that can be used to alter the behavior of OSTaskStkInit().
; *                            (see uCOS_II.H for OS_TASK_OPT_???).
; *
; * Returns    : Always returns the location of the new top-of-stack' once the processor registers have
; *              been placed on the stack in the proper order.
; *
; * Note(s)    : Interrupts are enabled when your task starts executing. You can change this by setting the
; *              SREG to 0x00 instead. In this case, interrupts would be disabled upon task startup. The
; *              application code would be responsible for enabling interrupts at the beginning of the task
; *              code. You will need to modify OSTaskIdle() and OSTaskStat() so that they enable interrupts.
; *              Failure to do this will make your system crash!
; *
; *              The AVR return stack is placed OS_TASK_HARD_STK_SIZE bytes before the bottom of the task's
; *              stack.
; *
; *              (1) IMPORTANT: The ICC compiler handles function pointers by actually passing the pointer
; *                             to a location in Flash that actually contains the pointer to the function.
; **********************************************************************************************************
; */
; 
; OS_STK  *OSTaskStkInit (void (*task)(void *pd), void *p_arg, OS_STK *ptos, INT16U opt)
; {
	.dbline 173
;     INT8U  *psoft_stk;
;     INT8U  *phard_stk;                      /* Temp. variable used for setting up AVR hardware stack    */
;     INT16U  tmp;
; 
; 
;     opt          = opt;                     /* 'opt' is not used, prevent warning                       */
	.dbline 174
;     psoft_stk    = (INT8U *)ptos;
	ldd R20,y+6
	ldd R21,y+7
	.dbline 175
;     phard_stk    = (INT8U *)ptos
	lds R2,_OSTaskStkSize
	lds R3,_OSTaskStkSize+1
	movw R4,R20
	sub R4,R2
	sbc R5,R3
	lds R10,_OSTaskHardStkSize
	lds R11,_OSTaskHardStkSize+1
	add R10,R4
	adc R11,R5
	.dbline 179
;                  - OSTaskStkSize            /* Task stack size                                          */
;                  + OSTaskHardStkSize;       /* AVR return stack ("hardware stack")                      */
; 
;     tmp          = *(INT16U const *)task;   /* (1) ICC compiler handles function pointers indirectly!   */
	movw R30,R16
	lpm R22,Z+
	lpm R23,Z
	.dbline 181
; 
;     *phard_stk-- = (INT8U)tmp;              /* Put task start address on top of "hardware stack"        */
	movw R2,R10
	movw R24,R2
	sbiw R24,1
	movw R30,R2
	std z+0,R22
	.dbline 182
;     *phard_stk-- = (INT8U)(tmp >> 8);
	movw R2,R24
	sbiw R24,1
	movw R10,R24
	movw R4,R22
	mov R4,R5
	clr R5
	movw R30,R2
	std z+0,R4
	.dbline 184
; 
;     *psoft_stk-- = (INT8U)0x00;             /* R0    = 0x00                                             */
	movw R2,R20
	subi R20,1
	sbci R21,0
	clr R4
	movw R30,R2
	std z+0,R4
	.dbline 185
;     *psoft_stk-- = (INT8U)0x01;             /* R1    = 0x01                                             */
	movw R2,R20
	subi R20,1
	sbci R21,0
	ldi R24,1
	movw R30,R2
	std z+0,R24
	.dbline 186
;     *psoft_stk-- = (INT8U)0x02;             /* R2    = 0x02                                             */
	movw R2,R20
	subi R20,1
	sbci R21,0
	ldi R24,2
	movw R30,R2
	std z+0,R24
	.dbline 187
;     *psoft_stk-- = (INT8U)0x03;             /* R3    = 0x03                                             */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
首页综合国产亚洲丝袜| 综合电影一区二区三区| 亚洲免费视频中文字幕| 欧美日韩亚洲综合| 久久se精品一区精品二区| 日本一区二区三区久久久久久久久不| 成人中文字幕电影| 亚洲国产婷婷综合在线精品| 宅男噜噜噜66一区二区66| 国产成人三级在线观看| 午夜精品久久久久| 国产欧美日韩在线视频| 久久久久一区二区三区四区| 色婷婷av一区二区三区gif| 强制捆绑调教一区二区| 亚洲日本va在线观看| 中文字幕永久在线不卡| 欧美v日韩v国产v| 欧美四级电影在线观看| 不卡的电视剧免费网站有什么| 日本中文在线一区| 一级做a爱片久久| 国产欧美一区二区精品婷婷| 日本一区二区三区dvd视频在线| 国产精品高清亚洲| 亚洲精品一区二区精华| 7777女厕盗摄久久久| 精品国免费一区二区三区| 国产欧美综合在线观看第十页| 日韩伦理免费电影| 日本免费在线视频不卡一不卡二| 久久69国产一区二区蜜臀| 日韩成人伦理电影在线观看| 国产精品综合一区二区三区| 久久福利视频一区二区| 成人黄色a**站在线观看| 日本高清不卡aⅴ免费网站| 风间由美一区二区三区在线观看| 国产真实乱偷精品视频免| 美腿丝袜亚洲三区| 日韩电影网1区2区| 成人精品视频网站| 这里是久久伊人| 国产精品久久久久久久午夜片| 亚洲成av人综合在线观看| 国产精品不卡一区| 日本欧美加勒比视频| 色综合久久综合| 日韩欧美的一区二区| 欧美mv日韩mv国产| 一区二区成人在线观看| 国产在线麻豆精品观看| 欧美影视一区二区三区| 久久精品夜色噜噜亚洲a∨| 国产欧美一区二区三区在线看蜜臀| 亚洲久草在线视频| 亚洲成a人片在线观看中文| 国产福利一区二区三区视频在线| 欧美狂野另类xxxxoooo| 91精品国产综合久久精品| 日韩欧美精品三级| 五月开心婷婷久久| 99re这里只有精品首页| 欧美在线一区二区三区| 制服丝袜中文字幕亚洲| 亚洲精品日韩一| 国产91精品精华液一区二区三区 | 日韩视频在线一区二区| 91精品欧美一区二区三区综合在 | 不卡的av在线| www亚洲一区| 国产精品美女www爽爽爽| 亚洲一线二线三线久久久| 日本va欧美va欧美va精品| 在线观看日韩国产| 一区二区三区国产精华| 91亚洲国产成人精品一区二区三| 欧美久久高跟鞋激| 亚洲444eee在线观看| 色天天综合色天天久久| 亚洲另类春色校园小说| 色欲综合视频天天天| 亚洲色图一区二区三区| 91在线视频在线| 日韩美女久久久| 色婷婷av一区二区三区之一色屋| 亚洲欧美日韩国产综合在线| 99久久er热在这里只有精品15 | 亚洲日本青草视频在线怡红院 | 9久草视频在线视频精品| 色婷婷久久久久swag精品| 日韩电影在线免费| 国产精品亚洲一区二区三区在线| 日日骚欧美日韩| 亚洲电影在线播放| 欧洲另类一二三四区| 亚洲一二三四区不卡| 欧美日韩一本到| 日本 国产 欧美色综合| 久久亚洲一级片| 波多野结衣视频一区| 一级做a爱片久久| 欧美一区二区网站| 国产成人一级电影| 亚洲欧美一区二区三区国产精品| 欧美视频第二页| 激情伊人五月天久久综合| 亚洲国产精品t66y| 婷婷综合久久一区二区三区| 欧美大白屁股肥臀xxxxxx| 国产成人丝袜美腿| 一区二区三区在线观看欧美| 欧美一区2区视频在线观看| 国产成a人亚洲精品| 亚洲国产精品一区二区久久| 精品久久久久久久久久久久包黑料 | 亚洲天堂网中文字| 777久久久精品| www.亚洲国产| 蜜桃视频一区二区三区| 中文字幕一区在线观看| 日韩午夜激情免费电影| 色婷婷久久一区二区三区麻豆| 免费欧美高清视频| 亚洲男人电影天堂| 亚洲精品在线观看网站| 欧美综合亚洲图片综合区| 国产精品一卡二卡| 日欧美一区二区| 亚洲人成精品久久久久久| 欧美精品一区二区三区蜜臀| 欧美天堂一区二区三区| 99久久伊人网影院| 国产大陆精品国产| 蜜臀久久久久久久| 午夜欧美大尺度福利影院在线看| 久久精品夜色噜噜亚洲aⅴ| 欧美日产在线观看| 亚洲高清中文字幕| 综合在线观看色| 久久毛片高清国产| 欧美成人性战久久| 在线播放欧美女士性生活| 91免费版在线看| 成人精品高清在线| 国产精品一区二区在线观看网站| 男女视频一区二区| 婷婷久久综合九色综合绿巨人| 一区二区三区精品在线观看| 一区视频在线播放| 国产精品人人做人人爽人人添| 精品国产伦一区二区三区免费| 欧美一区二区在线视频| 精品视频在线视频| 欧洲一区二区av| 欧洲精品在线观看| 在线免费观看成人短视频| 99re这里只有精品首页| 91啪九色porn原创视频在线观看| 国产成人午夜视频| 国产成人精品1024| 国产不卡视频一区二区三区| 国产成人一区在线| 丁香婷婷深情五月亚洲| proumb性欧美在线观看| 91浏览器打开| 欧美性猛片xxxx免费看久爱| 在线免费视频一区二区| 欧美系列日韩一区| 7777精品伊人久久久大香线蕉最新版| 欧美电影在线免费观看| 日韩一区二区在线观看视频播放| 91麻豆精品国产自产在线 | 国模少妇一区二区三区| 国产伦精品一区二区三区在线观看 | 欧美喷水一区二区| 正在播放亚洲一区| 久久亚洲影视婷婷| 亚洲欧洲日韩综合一区二区| 亚洲午夜日本在线观看| 蜜臀av在线播放一区二区三区| 国产精品一区二区你懂的| eeuss鲁片一区二区三区在线看| 在线欧美小视频| 精品免费视频一区二区| 欧美私人免费视频| 精品av综合导航| 亚洲天堂网中文字| 免费人成在线不卡| 成人avav在线| 欧美一区二区视频免费观看| 国产亚洲制服色| 午夜婷婷国产麻豆精品| 国产精品亚洲人在线观看| 欧美日韩中文国产| 欧美国产日韩精品免费观看| 午夜久久久影院| 成人av网址在线观看| 欧美一区二区不卡视频| 自拍偷拍欧美激情|