cpumodes.s

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· S 代码 · 共 31 行

S
31
字号
; -*-Asm-*-
;
; $Revision: 1.2 $
;   $Author: kwelton $
;     $Date: 1999/10/25 21:40:54 $
;
; cpumodes.s - Defines for processor status register on ARM architectures
;
; Copyright (c) ARM Limited 1999.
; All Rights Reserved.
;

NoIRQ		EQU	0x80		; Bit 7 of cspr
NoFIQ		EQU	0x40		; Bit 6 of cspr
NoINTS		EQU	(NoIRQ | NoFIQ) ; Both
MaskINTS	EQU	NoINTS

ModeMask	EQU	0x1F		; /* Processor mode in CPSR */

SVC32Mode	EQU	0x13
IRQ32Mode	EQU	0x12
FIQ32Mode	EQU	0x11
User32Mode	EQU	0x10
;; /* Error modes */
Abort32Mode	EQU	0x17
Undef32Mode	EQU	0x1B

	END				; End of file

; EOF cpumodes.s

⌨️ 快捷键说明

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