⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 define.s

📁 OKI DEMO FLASH WRITE PROGRAM
💻 S
字号:

;/****************************************************************************/
;/*                                                                          */
;/*    Copyright (C) 2006 Oki Electric Industry Co., LTD.                    */
;/*                                                                          */
;/*    System Name    :  ML675050                                            */
;/*    Module Name    :  Flash Memory Write Utility flash module             */
;/*    File   Name    :  define.s                                            */
;/*    Revision       :  01.00                                               */
;/*    Date           :  2006/03/20                                          */
;/*                                                                          */
;/****************************************************************************/

; bit field of CPSR/SPSR
Mode_USR        EQU     0x10    ; user mode
Mode_FIQ        EQU     0x11    ; FIQ mode
Mode_IRQ        EQU     0x12    ; IRQ mode
Mode_SVC        EQU     0x13    ; supervisor mode
Mode_ABT        EQU     0x17    ; abort mode
Mode_UND        EQU     0x1B    ; undefined mode
Mode_SYS        EQU     0x1F    ; system mode

T_Bit           EQU     0x20    ; Thumb mode flag
F_Bit           EQU     0x40    ; FIQ disable flag
I_Bit           EQU     0x80    ; IRQ disable flag

; definition for SWI
SWI_IRQ_EN      EQU     0x00    ; SWI number of irq_en
SWI_IRQ_DIS     EQU     0x01    ; SWI number of irq_dis
USR_SWI_MAX     EQU     0x01    ; maximum user SWI number
SWI_ERROR_CODE  EQU     -1      ; error code

; definition for memory
RAM_Base        EQU     0x50000000        ; bottom of proc RAM
RAM_Size        EQU     0x4000            ; size of proc RAM
RAM_Limit       EQU     RAM_Size+RAM_Base ; top of proc RAM

; definition for IRQ
IRQSIZE         EQU     64      ; number of IRQ interrupt factor.
IRQ_BASE        EQU     0x78000000; base address of registers about IRQ.

        END

⌨️ 快捷键说明

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