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

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

?? copyalgo.asm

?? TMS320C2000Flash操作
?? ASM
?? 第 1 頁 / 共 2 頁
字號:
;--------------------------------------------------------------------------------------------------
; Filename         : COPYALGO.ASM	  
; Last Modified    : 23 Jan 2002.
; Version          : 1.3
; Originator       : Texas Instruments, DSP Digital Control Systems Group.
;--------------------------------------------------------------------------------------------------
; Description:
;
; This file contains implementations for routines that will be used in embedded
; flash algorithm applications to copy the flash algorithms from flash memory
; (load address) to RAM (run address). The flash programming routines for the
; TMS320LF240x device must be run from RAM 
;--------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------
; Revision History
; 
; Ver 1.0 (25 May 2001)
; 
;           Comments: New implementation for embeddable flash algos.
; Ver 1.1 (10 Aug 2001)
;           Comments: No changes to this file. Incremented rev only.
; Ver 1.2 (16 Oct 2001)
;           Comments: Fixed filename at top of file.
; Ver 1.3 (23 Jan 2002)
;           Comments: Added stack save to all the function calls in this file.
;                     Specifically to, COPY_CLEAR_ALGO, COPY_ERASE_ALGO,
;                     COPY_PROGRAM_ALGO, and COPY_KERNEL.
;--------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------


;-------------------------------------------------------------------------------
; Import the flash symbol declarations (and any other things) in 
; VAR.H
;-------------------------------------------------------------------------------
         .include "..\include\var.h"
;-------------------------------------------------------------------------------
; Get the runtime address values for the clear, erase and program algorithms.
;-------------------------------------------------------------------------------
         .include "..\include\rundefs.h"

;-------------------------------------------------------------------------------
; Export symols from this file are .globals in rundefs.h
;-------------------------------------------------------------------------------




;-------------------------------------------------------------------------------
; Define a template to put the counter variables in the flashAlgoVars block.
; This is unused at the time the copy is invoked, so the flashAlgoVars are not
; subject to trashing (since they are not yet created).
;-------------------------------------------------------------------------------

counterStruct  .struct

source      .int
dest        .int
counter     .int
temp        .int       


STACK0      .int
STACK1      .int
STACK2      .int
STACK3      .int
STACK4      .int
STACK5      .int
STACK6      .int
STACK7      .int


counter_len     .endstruct

;-------------------------------------------------------------------------------
; Assign template to the flashAlgoVars block.
;-------------------------------------------------------------------------------

flashAlgoVars   .tag counterStruct

;-------------------------------------------------------------------------------
; copyClearAlgo:
; This is the implementation of the ASM and C callable copy routine to copy
; the flash algorithms to the run address from the load address.
;-------------------------------------------------------------------------------

        .text

COPY_CLEAR_ALGO:                            ;Assembly language call label.
_copyClearAlgo:                             ;C-language call label.

        LDP     #flashAlgoVars.source       ;Point DP to the copy variables. 
        
;STACK_SAVE:
        LAR     AR2,#flashAlgoVars.STACK0       ;Use AR2 to save the hardware stack.
        MAR     *,AR2                           ;Make AR2 the current AR

        RPT     #7                              ;Save all the 8 hardware stack locations
        POPD    *+                              ;into RAM block.


;-------------------------------------------------------------------------------
; Process the main portion of the algorithm
;-------------------------------------------------------------------------------

        LACC    #ClearAlgoStartMain         ;Point to the source of the clear
        SACL    flashAlgoVars.source        ;algorithm.

        LACC    #ClearAlgoEndMain           ;Compute the length of the algo
        SUB     #ClearAlgoStartMain         ;to be copied, and then store 
        SACL    flashAlgoVars.counter       ;it back to the counter.

        LACC    #ClearAlgoRunMain           ;Get the run address for the 
                                            ;main clear algorithm.
        SACL    flashAlgoVars.dest          ;Store the destination address.

        CALL    COPY_LOOP                   ;Call the core copy function.

;-------------------------------------------------------------------------------
; Copy the relocation sensitive portion of the algorithm
;-------------------------------------------------------------------------------
        LACC    #ClearAlgoStartSpl          ;Point to the source of the clear
        SACL    flashAlgoVars.source        ;algorithm.

        LACC    #ClearAlgoEndSpl            ;Compute the length of the algo
        SUB     #ClearAlgoStartSpl          ;to be copied, and then store 
        SACL    flashAlgoVars.counter       ;it back to the counter.

        LACC    #ClearAlgoRunSpl            ;Get the run address for the 
                                            ;main clear algorithm.
        SACL    flashAlgoVars.dest          ;Store the destination address.

        CALL    COPY_LOOP                   ;Call the core copy function.

;--------------------------------------------------------------------------------------------------
; Restore the hardware stack and exit to caller.
;--------------------------------------------------------------------------------------------------
;STACK_RESTORE:
        LAR     AR2,#flashAlgoVars.STACK7       ;Point AR2 to the last of the stored stack contents
        MAR     *,AR2                           ;Make AR2 the current AR
        
        RPT     #7                              ;Restore ALL stack locations.
        PSHD    *-
        MAR     *,AR1                           ;Make AR1 the current AR
        RET                                     ;Return to caller



;-------------------------------------------------------------------------------
; copyEraseAlgo:
; This is the implementation of the ASM and C callable copy routine to copy
; the flash algorithms to the run address from the load address.
;-------------------------------------------------------------------------------
COPY_ERASE_ALGO:                            ;Assembly language call label.
_copyEraseAlgo:                             ;C-language call label.

        LDP     #flashAlgoVars.source       ;Point DP to the copy variables.

;STACK_SAVE:
        LAR     AR2,#flashAlgoVars.STACK0       ;Use AR2 to save the hardware stack.
        MAR     *,AR2                           ;Make AR2 the current AR

        RPT     #7                              ;Save all the 8 hardware stack locations
        POPD    *+                              ;into RAM block.

;-------------------------------------------------------------------------------
; Process the main portion of the Erase algorithm
;-------------------------------------------------------------------------------

        LACC    #EraseAlgoStartMain         ;Point to the source of the clear
        SACL    flashAlgoVars.source        ;algorithm.

        LACC    #EraseAlgoEndMain           ;Compute the length of the algo
        SUB     #EraseAlgoStartMain         ;to be copied, and then store 
        SACL    flashAlgoVars.counter       ;it back to the counter.

        LACC    #EraseAlgoRunMain           ;Get the run address for the 
                                            ;main clear algorithm.
        SACL    flashAlgoVars.dest          ;Store the destination address.

        CALL    COPY_LOOP                   ;Call the core copy function.

;-------------------------------------------------------------------------------
; Copy the relocation sensitive portion of the Erase algorithm
;-------------------------------------------------------------------------------
        LACC    #EraseAlgoStartSpl          ;Point to the source of the clear
        SACL    flashAlgoVars.source        ;algorithm.

        LACC    #EraseAlgoEndSpl            ;Compute the length of the algo
        SUB     #EraseAlgoStartSpl          ;to be copied, and then store 
        SACL    flashAlgoVars.counter       ;it back to the counter.

        LACC    #EraseAlgoRunSpl           ;Get the run address for the 
                                            ;main clear algorithm.
        SACL    flashAlgoVars.dest          ;Store the destination address.

        CALL    COPY_LOOP                   ;Call the core copy function.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷av久久久久久久| 色呦呦日韩精品| 亚洲激情图片小说视频| 欧美一区二区在线免费观看| 国模少妇一区二区三区| 亚洲视频免费在线观看| 精品免费国产二区三区| 在线免费观看一区| 国产99久久久国产精品| 日韩中文字幕麻豆| 亚洲人成小说网站色在线| 欧美不卡一区二区三区四区| 欧美色图在线观看| 国产高清在线精品| 免费av网站大全久久| 亚洲精品国产第一综合99久久| 精品剧情v国产在线观看在线| 欧美性猛片aaaaaaa做受| 成人午夜又粗又硬又大| 激情综合色丁香一区二区| 亚洲成人动漫在线免费观看| 亚洲色欲色欲www| 久久免费视频一区| 欧美一区二区三区在线观看 | 久久九九99视频| 欧美丰满少妇xxxxx高潮对白| 99re这里只有精品6| 国产成人午夜精品影院观看视频| 美女视频免费一区| 蜜桃视频免费观看一区| 亚洲国产一区视频| 亚洲视频小说图片| 亚洲色图在线看| 一区精品在线播放| 中文字幕一区二区三区蜜月| 国产女人水真多18毛片18精品视频| 日韩欧美成人一区二区| 91麻豆精品国产91久久久资源速度 | 精品免费日韩av| 欧美不卡一二三| 欧美成人三级在线| 精品国产自在久精品国产| 91精品国产福利| 日韩一区二区三| 91麻豆精品国产91久久久久久久久| 欧美午夜片在线看| 欧美精品黑人性xxxx| 欧美精品乱码久久久久久| 精品污污网站免费看| 欧美揉bbbbb揉bbbbb| 欧美日韩激情一区二区三区| 欧美丝袜第三区| 欧美精品1区2区3区| 欧美一区二区在线免费观看| 日韩一级完整毛片| 精品精品国产高清一毛片一天堂| 精品久久国产字幕高潮| 久久久亚洲午夜电影| 国产精品理论在线观看| 亚洲视频你懂的| 石原莉奈在线亚洲三区| 精品一区二区三区不卡| 国产九色精品成人porny| 成人高清av在线| 色欧美日韩亚洲| 欧美高清性hdvideosex| 欧美第一区第二区| 日本一区二区三区四区| 亚洲欧洲中文日韩久久av乱码| 一区二区在线观看免费 | 成人在线一区二区三区| 99视频国产精品| 欧美久久久一区| 久久亚洲二区三区| 综合久久久久久| 天天综合色天天综合| 国产美女精品人人做人人爽 | 不卡高清视频专区| 欧美午夜精品一区| 337p日本欧洲亚洲大胆色噜噜| 欧美国产日韩精品免费观看| 亚洲第一狼人社区| 国产最新精品免费| 欧美在线999| 久久亚洲影视婷婷| 亚洲精选免费视频| 久久99久久久久久久久久久| 99麻豆久久久国产精品免费优播| 欧美日韩久久久| 国产精品无码永久免费888| 亚洲自拍偷拍av| 国产一二三精品| 欧美日韩一区不卡| 中国色在线观看另类| 日一区二区三区| av电影天堂一区二区在线| 在线综合+亚洲+欧美中文字幕| 国产精品第一页第二页第三页| 日韩av一区二区三区四区| 91丨porny丨首页| 精品第一国产综合精品aⅴ| 亚洲综合成人网| 国产成a人亚洲精| 777久久久精品| 尤物视频一区二区| 盗摄精品av一区二区三区| 正在播放亚洲一区| 亚洲一区二区av在线| 成人动漫一区二区三区| 日韩一级大片在线观看| 亚洲精品国产高清久久伦理二区| 国产黄色精品网站| 精品国产一区二区亚洲人成毛片| 亚洲高清不卡在线| 91丨porny丨国产入口| 久久一区二区视频| 免费成人av在线| 欧美日韩美女一区二区| 亚洲视频一区二区免费在线观看| 国产成人亚洲综合a∨婷婷图片| 555www色欧美视频| 天堂一区二区在线| 欧美视频三区在线播放| 亚洲黄色小视频| 色婷婷av一区| 亚洲欧美另类久久久精品2019| 成人精品在线视频观看| 久久精品亚洲精品国产欧美kt∨| 麻豆精品在线观看| 欧美一卡2卡3卡4卡| 五月婷婷综合激情| 欧美视频一区二| 亚洲午夜三级在线| 欧美色综合天天久久综合精品| 一区二区三区影院| 日本韩国欧美国产| 亚洲麻豆国产自偷在线| 成人黄动漫网站免费app| 国产亚洲短视频| 国产精品91一区二区| 久久久久久99精品| 国产成人综合精品三级| 国产亚洲欧美一级| 国产suv精品一区二区三区| 国产丝袜欧美中文另类| 高清不卡一区二区在线| 欧美高清一级片在线观看| 成人一二三区视频| 国产精品成人免费精品自在线观看| 在线影院国内精品| 亚洲乱码国产乱码精品精98午夜 | 日本aⅴ亚洲精品中文乱码| 555夜色666亚洲国产免| 久久精品国产亚洲高清剧情介绍| 精品国产91亚洲一区二区三区婷婷| 狠狠狠色丁香婷婷综合久久五月| 久久中文字幕电影| 成人美女视频在线观看18| 亚洲日本在线视频观看| 欧美综合欧美视频| 伦理电影国产精品| 中文久久乱码一区二区| 91同城在线观看| 性做久久久久久| 精品国产乱码久久久久久影片| 高清不卡一区二区在线| 一级精品视频在线观看宜春院| 欧美精品乱码久久久久久按摩 | 福利视频网站一区二区三区| 国产精品久久久久久妇女6080| 91福利精品视频| 久久电影国产免费久久电影| 国产精品久久久久久妇女6080| 欧美三级乱人伦电影| 激情综合色综合久久综合| 中文字幕字幕中文在线中不卡视频| 欧美亚洲尤物久久| 精品一区二区免费在线观看| 亚洲视频一二区| 欧美电影免费观看高清完整版在线| 国产高清久久久久| 亚洲综合色噜噜狠狠| 精品国产凹凸成av人导航| 91免费看视频| 激情综合色丁香一区二区| 亚洲乱码中文字幕| 欧美xxxxx牲另类人与| 色婷婷综合中文久久一本| 美腿丝袜亚洲综合| 亚洲欧洲日韩av| 欧美不卡视频一区| 91国模大尺度私拍在线视频| 激情综合色综合久久| 亚洲成人免费视| 日本一区二区三区dvd视频在线 | 欧美日韩高清在线| 国产 欧美在线| 日产国产高清一区二区三区| 亚洲欧洲精品一区二区三区不卡| 欧美va亚洲va在线观看蝴蝶网|