init_54x.asm

来自「EVM板JPEG实现,Texas Instruments TMS320C54x 」· 汇编 代码 · 共 32 行

ASM
32
字号
***********************************************************************
* MODULE NAME:  init_54x.asm                                          *
*                                                                     *
* AUTHOR:  Nathan Baltz                                               *
*                                                                     *
* DESCRIPTION: After reset, ST0, ST1, PMST and other memory mapped    *
*   registers reconfigured at a known state.                          *
*                                                                     *  
* DATE:  Summer 1996                                                  *
*                                                                     *
***********************************************************************
*       (C) COPYRIGHT TEXAS INSTRUMENTS, INC. 1996                    *                
***********************************************************************

                .mmregs
                .include "init_54x.inc"      ; contains all the initial
                                             ; values of ST0, ST1, PMST, SWWSR,
                                             ; BSCR
                .global _init_54                  
K_INIT_DP       .set  0
                .text
	
_init_54:
                STM     #K_ST0, ST0         ; initialize two status registers
                STM     #K_ST1, ST1
                STM     #K_PMST,PMST        ; intitialize memory configuration
                STM     #K_BSCR, BSCR       ; 0 wait states for BANK switch
                STM     #K_SWWSR_IO, SWWSR  ; 2 wait states for I/O
                                            ; operations
                RET
                .end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?