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

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

?? lib_str.lst

?? stm32+ucos-ii
?? LST
?? 第 1 頁 / 共 5 頁
字號:
   \   00000020   7047               BX       LR               ;; return
    295          }
    296          
    297          
    298          /*$PAGE*/
    299          /*
    300          *********************************************************************************************************
    301          *                                             Str_Copy()
    302          *
    303          * Description : Copy source string to destination string buffer.
    304          *
    305          * Argument(s) : pstr_dest   Pointer to destination string buffer to receive source string copy   (see Note #1a).
    306          *
    307          *               pstr_src    Pointer to source      string to copy into destination string buffer (see Note #1b).
    308          *
    309          * Return(s)   : Pointer to destination string, if NO error(s) [see Note #2b1].
    310          *
    311          *               Pointer to NULL,               otherwise      (see Note #2b2A).
    312          *
    313          * Caller(s)   : Application.
    314          *
    315          * Note(s)     : (1) (a) Destination buffer size NOT validated; buffer overruns MUST be prevented by caller.
    316          *
    317          *                       (1) Destination buffer size MUST be large enough to accommodate the entire source
    318          *                           string size including the terminating NULL character.
    319          *
    320          *                   (b) Source buffer NOT modified.
    321          *
    322          *               (2) (a) IEEE Std 1003.1, 2004 Edition, Section 'strcpy() : DESCRIPTION' states that :
    323          *
    324          *                       (1) "The strcpy() function shall copy the string pointed to by 's2' ('pstr_src') 
    325          *                            ... into the array pointed to by 's1' ('pstr_dest')" ...
    326          *                       (2) "(including the terminating null byte)."
    327          *
    328          *                   (b) IEEE Std 1003.1, 2004 Edition, Section 'strcpy() : RETURN VALUE' states that :
    329          *
    330          *                       (1) "The strcpy() function shall return 's1' ('pstr_dest');" ...
    331          *                       (2) "no return value is reserved to indicate an error."
    332          *                           (A) #### This requirement is intentionally NOT implemented in order to return 
    333          *                               NULL for any error(s).
    334          *
    335          *                   (c) IEEE Std 1003.1, 2004 Edition, Section 'strcpy() : DESCRIPTION' states that "if
    336          *                       copying takes place between objects that overlap, the behavior is undefined".
    337          *
    338          *               (3) String copy terminates when :
    339          *
    340          *                   (a) Destination/Source string pointer(s) are passed NULL pointers.
    341          *                       (1) No string copy performed; NULL pointer returned.
    342          *
    343          *                   (b) Destination/Source string pointer(s) point to NULL.
    344          *                       (1) String buffer(s) overlap with NULL address; NULL pointer returned.
    345          *
    346          *                   (c) Source string's terminating NULL character found.
    347          *                       (1) Entire source string copied into destination string buffer (see Note #2a).
    348          *********************************************************************************************************
    349          */
    350          

   \                                 In section .text, align 2, keep-with-next
    351          CPU_CHAR  *Str_Copy (       CPU_CHAR  *pstr_dest,
    352                               const  CPU_CHAR  *pstr_src)
    353          {
   \                     Str_Copy:
   \   00000000   70B5               PUSH     {R4-R6,LR}
   \   00000002   0400               MOVS     R4,R0
   \   00000004   0D00               MOVS     R5,R1
    354              CPU_CHAR  *pstr_rtn;
    355          
    356          
    357              pstr_rtn = Str_Copy_N(pstr_dest,
    358                                    pstr_src,
    359                                    DEF_INT_CPU_U_MAX_VAL);
   \   00000006   5FF0FF32           MOVS     R2,#-1
   \   0000000A   2900               MOVS     R1,R5
   \   0000000C   2000               MOVS     R0,R4
   \   0000000E   ........           BL       Str_Copy_N
   \   00000012   0600               MOVS     R6,R0
    360          
    361              return (pstr_rtn);
   \   00000014   3000               MOVS     R0,R6
   \   00000016   70BD               POP      {R4-R6,PC}       ;; return
    362          }
    363          
    364          
    365          /*$PAGE*/
    366          /*
    367          *********************************************************************************************************
    368          *                                            Str_Copy_N()
    369          *
    370          * Description : Copy source string to destination string buffer, up to a maximum number of characters.
    371          *
    372          * Argument(s) : pstr_dest   Pointer to destination string buffer to receive source string copy   (see Note #1a).
    373          *
    374          *               pstr_src    Pointer to source      string to copy into destination string buffer (see Note #1b).
    375          *
    376          *               len_max     Maximum number of characters  to copy (see Notes #2a2 & #3d).
    377          *
    378          * Return(s)   : Pointer to destination string, if NO error(s) [see Note #2b1].
    379          *
    380          *               Pointer to NULL,               otherwise      (see Note #2b2A).
    381          *
    382          * Caller(s)   : Application.
    383          *
    384          * Note(s)     : (1) (a) Destination buffer size NOT validated; buffer overruns MUST be prevented by caller.
    385          *
    386          *                       (1) Destination buffer size MUST be large enough to accommodate the entire source
    387          *                           string size including the terminating NULL character.
    388          *
    389          *                   (b) Source string buffer NOT modified.
    390          *
    391          *               (2) (a) (1) IEEE Std 1003.1, 2004 Edition, Section 'strncpy() : DESCRIPTION' states that :
    392          *
    393          *                           (A) "The strncpy() function shall copy ... the array pointed to by 's2' 
    394          *                               ('pstr_src') to the array pointed to by 's1' ('pstr_dest')"; ...
    395          *                           (B)  but "not more than 'n' ('len_max') bytes"                   ...
    396          *                           (C)  &   "(bytes that follow a null byte are not copied)".
    397          *
    398          *                       (2) (A) IEEE Std 1003.1, 2004 Edition, Section 'strncpy() : DESCRIPTION' adds that 
    399          *                              "if the array pointed to by 's2' ('pstr_src') is a string that is shorter 
    400          *                               than 'n' ('len_max') bytes, null bytes shall be appended to the copy in 
    401          *                               the array pointed to by 's1' ('pstr_dest'), until 'n' ('len_max') bytes 
    402          *                               in all are written."
    403          *
    404          *                               (1) #### Since Str_Copy() limits the maximum number of characters to copy 
    405          *                                   via Str_Copy_N() by the CPU's maximum number of addressable characters, 
    406          *                                   this requirement is intentionally NOT implemented to avoid appending 
    407          *                                   a potentially large number of unnecessary terminating NULL characters.
    408          *
    409          *                           (B) IEEE Std 1003.1, 2004 Edition, Section 'strncpy() : APPLICATION USAGE' also  
    410          *                               states that "if there is no null byte in the first 'n' ('len_max') bytes of 
    411          *                               the array pointed to by 's2' ('pstr_src'), the result is not null-terminated".
    412          *
    413          *                   (b) IEEE Std 1003.1, 2004 Edition, Section 'strncpy() : RETURN VALUE' states that :
    414          *
    415          *                       (1) "The strncpy() function shall return 's1' ('pstr_dest');" ...
    416          *                       (2) "no return value is reserved to indicate an error."
    417          *                           (A) #### This requirement is intentionally ignored in order to return NULL 
    418          *                               for any error(s).
    419          *
    420          *                   (c) IEEE Std 1003.1, 2004 Edition, Section 'strncpy() : DESCRIPTION' states that "if
    421          *                       copying takes place between objects that overlap, the behavior is undefined".
    422          *
    423          *               (3) String copy terminates when :
    424          *
    425          *                   (a) Destination/Source string pointer(s) are passed NULL pointers.
    426          *                       (1) No string copy performed; NULL pointer returned.
    427          *
    428          *                   (b) Destination/Source string pointer(s) point to NULL.
    429          *                       (1) String buffer(s) overlap with NULL address; NULL pointer returned.
    430          *
    431          *                   (c) Source string's terminating NULL character found.
    432          *                       (1) Entire source string copied into destination string buffer (see Note #2a1A).
    433          *
    434          *                   (d) 'len_max' number of characters copied.
    435          *                       (1) 'len_max' number of characters MAY include the terminating NULL character 
    436          *                           (see Note #2a1C).
    437          *                       (2) Null copies allowed (i.e. zero-length copies).
    438          *                           (A) No string copy performed; destination string returned  (see Note #2b1).
    439          *********************************************************************************************************
    440          */
    441          /*$PAGE*/

   \                                 In section .text, align 2, keep-with-next
    442          CPU_CHAR  *Str_Copy_N (       CPU_CHAR    *pstr_dest,
    443                                 const  CPU_CHAR    *pstr_src,
    444                                        CPU_SIZE_T   len_max)
    445          {
   \                     Str_Copy_N:
   \   00000000   70B4               PUSH     {R4-R6}
   \   00000002   0300               MOVS     R3,R0
    446                     CPU_CHAR    *pstr_copy_dest;
    447              const  CPU_CHAR    *pstr_copy_src;
    448                     CPU_SIZE_T   len_copy;
    449          
    450                                                                          /* Rtn NULL if str ptr(s) NULL (see Note #3a1).         */
    451              if (pstr_dest == (CPU_CHAR *)0) {
   \   00000004   002B               CMP      R3,#+0
   \   00000006   01D1               BNE.N    ??Str_Copy_N_0
    452                  return ((CPU_CHAR *)0);
   \   00000008   0020               MOVS     R0,#+0
   \   0000000A   21E0               B.N      ??Str_Copy_N_1
    453              }
    454              if (pstr_src  == (const CPU_CHAR *)0) {
   \                     ??Str_Copy_N_0:
   \   0000000C   0029               CMP      R1,#+0
   \   0000000E   01D1               BNE.N    ??Str_Copy_N_2
    455                  return ((CPU_CHAR *)0);
   \   00000010   0020               MOVS     R0,#+0
   \   00000012   1DE0               B.N      ??Str_Copy_N_1
    456              }
    457          
    458          
    459              pstr_copy_dest = pstr_dest;
   \                     ??Str_Copy_N_2:
   \   00000014   1C00               MOVS     R4,R3
    460              pstr_copy_src  = pstr_src;
   \   00000016   0D00               MOVS     R5,R1
    461              len_copy       = 0u;
   \   00000018   0020               MOVS     R0,#+0
   \   0000001A   0600               MOVS     R6,R0

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产农村妇女毛片精品久久麻豆| 精品国产一二三| 国产伦精品一区二区三区免费迷 | 在线视频综合导航| 91在线观看免费视频| 成人深夜福利app| 99久精品国产| 色又黄又爽网站www久久| 色呦呦国产精品| 欧美影院一区二区三区| 欧美欧美欧美欧美| 欧美一级二级三级乱码| 精品国产髙清在线看国产毛片 | 欧美经典一区二区三区| 国产香蕉久久精品综合网| 国产精品午夜免费| 亚洲精品视频一区二区| 日韩电影在线看| 国产乱一区二区| 91丝袜高跟美女视频| 91高清在线观看| 精品噜噜噜噜久久久久久久久试看| 26uuu色噜噜精品一区二区| 欧美激情一区三区| 亚洲高清中文字幕| 国产中文字幕一区| 色狠狠桃花综合| 久久亚洲综合色| 亚洲午夜影视影院在线观看| 免费精品99久久国产综合精品| 国产黄色91视频| 欧美日韩精品三区| 欧美国产日韩一二三区| 亚洲成人精品一区二区| 国产综合久久久久久鬼色| 色婷婷综合久久久久中文一区二区| 欧美一区二区三区四区高清| 日本一区二区视频在线| 日韩激情中文字幕| 成人av在线观| 精品国产制服丝袜高跟| 亚洲一区二区三区四区在线 | 国产精品美女久久久久久2018| 一区二区三区视频在线看| 精品一区免费av| 精品视频一区 二区 三区| 欧美韩日一区二区三区| 青草av.久久免费一区| 91麻豆国产精品久久| 久久久久国色av免费看影院| 日韩中文字幕不卡| 91视视频在线观看入口直接观看www | 色综合久久66| 中文字幕+乱码+中文字幕一区| 香蕉久久夜色精品国产使用方法| 粉嫩久久99精品久久久久久夜| 91精品国产欧美一区二区18| 一区二区成人在线视频| 成人的网站免费观看| 26uuu亚洲| 国内成人自拍视频| 日韩美女在线视频 | 国产aⅴ精品一区二区三区色成熟| 欧美日韩精品福利| 一区二区三区高清| 在线欧美日韩国产| 亚洲人成网站精品片在线观看| 国产精品91一区二区| 日韩欧美国产综合| 婷婷成人综合网| 欧美区视频在线观看| 视频一区二区不卡| 在线成人高清不卡| 蜜臀av性久久久久蜜臀aⅴ流畅 | 午夜电影网亚洲视频| 91行情网站电视在线观看高清版| 国产精品每日更新| 91色在线porny| 亚洲一区二区三区视频在线 | 免费人成精品欧美精品 | 91在线porny国产在线看| 亚洲欧洲av在线| 色88888久久久久久影院野外| 亚洲视频图片小说| 在线一区二区三区四区五区| 亚洲一区二区三区小说| 欧美一卡2卡3卡4卡| 麻豆免费精品视频| 久久精品免费在线观看| 99综合影院在线| 悠悠色在线精品| 欧美精品日韩一本| 九九**精品视频免费播放| 久久久久久久av麻豆果冻| 粉嫩av一区二区三区| 有码一区二区三区| 日韩一本二本av| 国产91富婆露脸刺激对白| 亚洲视频一区在线| 欧美精品在线观看播放| 国产一区二区网址| 亚洲日本成人在线观看| 6080亚洲精品一区二区| 国产成人精品免费看| 一区二区三区四区高清精品免费观看 | 亚洲欧美日韩精品久久久久| 欧美三级电影网站| 国产精品91一区二区| 亚洲va国产va欧美va观看| 337p粉嫩大胆噜噜噜噜噜91av| 色综合中文字幕| 秋霞午夜av一区二区三区| 国产精品青草综合久久久久99| 欧美三级欧美一级| 国产成人精品免费视频网站| 亚洲一区二区精品久久av| 久久久午夜电影| 7777精品伊人久久久大香线蕉超级流畅 | 91成人免费电影| 国产成人在线观看免费网站| 亚洲成人一二三| 国产丝袜在线精品| 欧美一卡二卡在线| 欧美性受极品xxxx喷水| 成人综合婷婷国产精品久久 | 亚洲丝袜自拍清纯另类| xnxx国产精品| 7777女厕盗摄久久久| 91丨九色porny丨蝌蚪| 国产一区二区精品久久99| 午夜精品久久久久久不卡8050| 亚洲国产精品ⅴa在线观看| 日韩视频免费观看高清完整版在线观看| www.av亚洲| 国产成人在线网站| 韩国av一区二区三区四区| 免费在线看成人av| 日韩精品视频网站| 亚洲高清免费一级二级三级| 国产精品国产a级| 国产日韩欧美a| 亚洲精品一区二区三区精华液 | 国产亚洲精品久| 久久综合色一综合色88| 日韩一级在线观看| 制服丝袜亚洲播放| 欧美美女一区二区| 欧美精品自拍偷拍| 欧美精品成人一区二区三区四区| 91色九色蝌蚪| 91极品美女在线| 在线亚洲+欧美+日本专区| 不卡的电影网站| 99麻豆久久久国产精品免费 | 91免费版在线| 91天堂素人约啪| 91久久免费观看| 欧美亚洲动漫精品| 欧美日韩国产综合一区二区 | 久久婷婷综合激情| 久久久亚洲精品一区二区三区 | 美女看a上一区| 国产专区欧美精品| 成人免费毛片a| 91精品办公室少妇高潮对白| 精品视频免费在线| 精品卡一卡二卡三卡四在线| 日韩免费性生活视频播放| 久久久久国产精品麻豆| 国产精品免费视频观看| 亚洲欧美精品午睡沙发| 五月天欧美精品| 国产精华液一区二区三区| 一本色道**综合亚洲精品蜜桃冫 | 欧美一级视频精品观看| 精品少妇一区二区三区视频免付费| 欧美xfplay| 亚洲视频一二三| 全部av―极品视觉盛宴亚洲| 国产成人精品免费| 在线观看免费成人| 日韩精品一区二区三区在线播放| 久久精品一区二区| 亚洲精品日韩一| 精品一区二区三区视频在线观看| 丰满少妇久久久久久久| 在线亚洲高清视频| 久久久精品2019中文字幕之3| 亚洲欧洲99久久| 精品无码三级在线观看视频| 色婷婷久久久久swag精品| 日韩欧美亚洲国产精品字幕久久久| 国产精品美女久久久久久久网站| 爽好多水快深点欧美视频| 国产成a人无v码亚洲福利| 欧美一级淫片007| 亚洲欧美另类久久久精品2019| 精品一区二区三区免费播放| 欧美亚洲高清一区二区三区不卡| 久久久久久久一区|