📄 init_54x.asm
字号:
*****************************************************************************
* FILENAME: INIT_54x.ASM
* After reset, ST0, ST1, PMST and other memory mapped registers
* reconfigured at a known state.
*****************************************************************************
.include "init_54x.inc" ; contains all the initial
; values of ST0, ST1, PMST, SWWSR,
; BSCR
.mmregs
K_INIT_DP .set 0
.text
init_54:
* initialize the status and control registers
ST0 = #K_ST0
ST1 = #K_ST1
PMST = #K_PMST
* wait states for Bank Switch
BSCR = #K_BSCR ; 0 wait states for BANK
; SWITCH
* Init. the s/w wait state reg.for 2 wait states for I/O operations
dreturn
SWWSR = #K_SWWSR_IO ; 2 wait states for I/O
; operations
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -