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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? copyalgo.asm

?? ti dsp lf2407的flash接口程序
?? ASM
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
;--------------------------------------------------------------------------------------------------
; 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.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品在线观看免费| 在线精品国精品国产尤物884a| 亚洲人成7777| 精品av综合导航| 色88888久久久久久影院野外| 理论片日本一区| 亚洲一二三四久久| 国产精品日韩精品欧美在线| 欧美一区二区三区人| 色综合av在线| 成人激情小说网站| 久久99在线观看| 日韩在线卡一卡二| 尤物在线观看一区| 国产精品国产三级国产普通话三级 | 日本久久电影网| 久久超级碰视频| 爽好多水快深点欧美视频| 亚洲欧美激情一区二区| 亚洲精品在线观| 日韩一区二区三| 欧美日韩久久久一区| 在线亚洲人成电影网站色www| 国产福利一区二区三区视频在线 | jlzzjlzz亚洲女人18| 蜜桃视频第一区免费观看| 亚洲精品综合在线| 国产精品伦理一区二区| 国产亚洲美州欧州综合国| 精品国产sm最大网站免费看| 欧美日韩激情一区| 欧美在线制服丝袜| 色老汉av一区二区三区| 日本精品一区二区三区四区的功能| 高清成人在线观看| 国产乱国产乱300精品| 国产真实乱子伦精品视频| 精品中文字幕一区二区| 日韩福利视频网| 免费av成人在线| 精品在线你懂的| 精品影视av免费| 久久aⅴ国产欧美74aaa| 狠狠色狠狠色综合| 韩国中文字幕2020精品| 极品少妇xxxx精品少妇偷拍| 狠狠色丁香久久婷婷综合_中| 韩国av一区二区三区在线观看| 久久99精品久久久久婷婷| 久久成人免费网| 国产一区二区三区久久久 | 中文字幕精品一区二区三区精品| 久久久久国产精品麻豆| 国产精品日产欧美久久久久| 国产精品美女久久久久aⅴ| 一色桃子久久精品亚洲| 亚洲综合视频在线观看| 亚洲一区二区美女| 三级久久三级久久久| 美女一区二区三区在线观看| 国产一区在线看| 韩日精品视频一区| 国产成人在线视频免费播放| 91丨国产丨九色丨pron| 91丨porny丨最新| 欧美肥大bbwbbw高潮| 亚洲精品在线观看网站| 欧美国产在线观看| 亚洲一区二区中文在线| 麻豆精品一区二区综合av| 国产成人免费网站| 欧美在线视频日韩| 欧美精品一区二区在线观看| 国产精品久久久久久久蜜臀| 一区二区三区日韩精品| 奇米一区二区三区| 成人黄色在线视频| 欧美精品成人一区二区三区四区| 久久久影视传媒| 亚洲伊人色欲综合网| 美脚の诱脚舐め脚责91| 93久久精品日日躁夜夜躁欧美| 欧美日韩日日骚| 欧美国产日韩精品免费观看| 午夜伊人狠狠久久| 高清国产一区二区三区| 国产精品成人在线观看| 日韩二区三区四区| 91视视频在线直接观看在线看网页在线看| 欧美日韩不卡在线| 国产精品乱人伦中文| 六月婷婷色综合| 欧美三级蜜桃2在线观看| 国产天堂亚洲国产碰碰| 日韩和欧美一区二区三区| av电影在线不卡| 欧美成人猛片aaaaaaa| 一区二区三区**美女毛片| 国产主播一区二区三区| 欧美日韩在线综合| **网站欧美大片在线观看| 国产综合一区二区| 欧美一区二区三级| 亚洲一区二区三区爽爽爽爽爽 | 欧美精品久久一区二区三区| 国产精品成人午夜| 国产精品综合在线视频| 欧美日韩国产综合一区二区三区| 中文字幕一区二区三区在线观看| 国模娜娜一区二区三区| 欧美一区二区三区免费在线看| 亚洲综合激情网| 99re热这里只有精品视频| 国产欧美日韩视频一区二区| 在线观看av一区| 亚洲欧洲另类国产综合| 日产欧产美韩系列久久99| 欧美中文字幕一区| 国产精品美女久久久久高潮| 国产高清久久久久| 久久中文字幕电影| 青青草成人在线观看| 欧美精品乱码久久久久久按摩 | 在线视频亚洲一区| 亚洲图片你懂的| 成人精品gif动图一区| 国产欧美精品一区二区色综合朱莉| 另类综合日韩欧美亚洲| 日韩一级完整毛片| 麻豆免费精品视频| 欧美大肚乱孕交hd孕妇| 免费观看久久久4p| 日韩三级免费观看| 久久国产夜色精品鲁鲁99| 欧美一区二区在线视频| 日韩二区三区在线观看| 91麻豆精品国产自产在线观看一区 | 欧美一区二区三区白人| 日韩福利电影在线观看| 欧美电影免费观看高清完整版在 | 一区二区三区.www| 欧美在线免费视屏| 亚洲123区在线观看| 7777精品伊人久久久大香线蕉最新版| 日日夜夜一区二区| 日韩欧美国产一区二区三区| 国内成+人亚洲+欧美+综合在线 | 欧美精品亚洲一区二区在线播放| 天天色综合成人网| 日韩精品一区二区三区视频播放 | 亚洲图片激情小说| 在线日韩国产精品| 五月天精品一区二区三区| 91精品福利在线一区二区三区| 蜜臀久久99精品久久久画质超高清 | 欧美三级电影网| 美女久久久精品| 国产日韩欧美不卡| 91麻豆123| 午夜久久久影院| 久久综合久久综合九色| 成人午夜免费视频| 亚洲精品国产视频| 欧美一区二区黄色| 成人深夜福利app| 亚洲香肠在线观看| 精品少妇一区二区三区日产乱码| 国产成人免费xxxxxxxx| 亚洲精品欧美在线| 精品理论电影在线| 91丨porny丨户外露出| 日韩激情一二三区| 国产精品免费av| 欧美人xxxx| 成人三级在线视频| 午夜精品一区二区三区免费视频| 欧美mv日韩mv| 91福利国产精品| 国产一区欧美日韩| 亚洲激情网站免费观看| 日韩精品一区二区三区老鸭窝| 成人黄色av电影| 青青草国产精品亚洲专区无| 国产精品伦一区| 欧美一区2区视频在线观看| 成人午夜视频网站| 日韩av中文在线观看| 综合在线观看色| 精品久久99ma| 在线中文字幕一区二区| 国产一区二区精品久久99| 亚洲国产精品久久人人爱蜜臀 | 欧美韩日一区二区三区四区| 欧美日韩你懂得| 91小视频在线| 精彩视频一区二区| 首页国产欧美久久| 中文字幕在线观看一区| 欧美精品一区二区三区在线| 在线免费观看视频一区|