ARM Process state -- SPSR

Holds the saved process state for the current mode.

保存当前模式的已保存进程状态。

N, bit [31]

Set to the value of PSTATE.N on taking an exception to the current mode, and copied to PSTATE.N on executing an exception return operation in the current mode.

设置为PSTATE的值。N对当前模式进行异常处理,并复制到PSTATE。N在当前模式下执行异常返回操作。

Z, bit [30]

Set to the value of PSTATE.Z on taking an exception to the current mode, and copied to PSTATE.Z on executing an exception return operation in the current mode.

设置为PSTATE的值。Z对当前模式进行异常处理,并复制到PSTATE。Z在当前模式下执行异常返回操作。

C, bit [29]

Set to the value of PSTATE.C on taking an exception to the current mode, and copied to PSTATE.C on executing an exception return operation in the current mode.

设置为PSTATE的值。C对当前模式进行异常处理,并复制到PSTATE。C在当前模式下执行异常返回操作。

V, bit [28]

Set to the value of PSTATE.V on taking an exception to the current mode, and copied to PSTATE.V on executing an exception return operation in the current mode.

设置为PSTATE的值。V对当前模式进行异常处理,并复制到PSTATE。V在当前模式下执行异常返回操作。

Q, bit [27]

Set to the value of PSTATE.Q on taking an exception to the current mode, and copied to PSTATE.Q on executing an exception return operation in the current mode.

设置为PSTATE的值。Q对当前模式进行异常处理,并复制到PSTATE。Q在当前模式下执行异常返回操作。

J, bit [24]

RES0.

In previous versions of the architecture, the {J, T} bits determined the AArch32 Instruction set state. ARMv8 does not support either Jazelle state or T32EE state, and the T bit determines the Instruction set state.

在架构的早期版本中,{J,T}位决定了AArch32指令集状态。ARMv8不支持Jazelle状态或T32EE状态,T位决定指令集状态。

PAN, bit [22]

When ARMv8.1-PAN is implemented:

Privileged Access Never. This bit is set to the value of PSTATE.PAN on taking an exception to the current mode, and copied to PSTATE.PAN on executing an exception return operation in the current mode.

特权访问永远不会。此位设置为PSTATE的值。PAN对当前模式进行异常处理,并复制到PSTATE。PAN在当前模式下执行异常返回操作。

DIT, bit [21]

When ARMv8.4-DIT is implemented:

Data Independent Timing. This bit is set to the value of PSTATE.DIT on taking an exception to the current mode, and copied to PSTATE.DIT on executing an exception return operation in the current mode.

数据独立计时。此位设置为PSTATE的值。DIT对当前模式进行异常处理,并复制到PSTATE。在当前模式下执行异常返回操作时执行DIT。

IL, bit [20]

Illegal Execution state bit. Shows the value of PSTATE.IL immediately before the exception was taken.

非法执行状态位。显示PSTATE的值。在采取例外措施之前。

GE, bits [19:16]

Greater than or Equal flags, for parallel addition and subtraction.

大于或等于标志,用于并行加法和减法。

IT[7:2], bits [15:10]

IT block state bits for the T32 IT (If-Then) instruction.

T32 IT(If Then)指令的IT块状态位。

E, bit [9]

Endianness state bit. Controls the load and store endianness for data accesses:

端序状态位。控制数据访问的加载和存储端序

0b0 Little-endian operation

0b1 Big-endian operation.

A, bit [8]

SError interrupt mask bit.

0b0 Exception not masked.

0b1 Exception masked.

I, bit [7]

IRQ mask bit.

0b0 Exception not masked.

0b1 Exception masked.

F, bit [6]

FIQ mask bit.

0b0 Exception not masked.

0b1 Exception masked.

T, bit [5]

T32 Instruction set state bit. Determines the AArch32 instruction set state that the exception was taken from.

T32指令集状态位。确定异常来自的AArch32指令集状态。

0b0 Taken from A32 state.

0b1 Taken from T32 state.

M[4], bit [4]

Execution state that the exception was taken from.

异常发生的执行状态。

0b1 Exception taken from AArch32.

M[3:0], bits [3:0]

AArch32 mode that an exception was taken from.

发生异常的AArch32模式。

0b0000 User.

0b0001 FIQ.

0b0010 IRQ.

0b0011 Supervisor.

0b0110 Monitor (only valid in Secure state, if EL3 is implemented and can use AArch32).

0b0111 Abort.

0b1010 Hyp.

0b1011 Undefined.

0b1111 System.

Other values are reserved.

相关推荐
Crossoads2 天前
【汇编语言】call 和 ret 指令(一) —— 探讨汇编中的ret和retf指令以及call指令及其多种转移方式
android·开发语言·javascript·汇编·人工智能·数据挖掘·c#
Crossoads3 天前
【汇编语言】转移指令的原理(三) —— 汇编跳转指南:jcxz、loop与位移的深度解读
android·汇编·人工智能·redis·单片机·深度学习·机器学习
zhuqiyua4 天前
深入解析Kernel32.dll与Msvcrt.dll
汇编·microsoft·windbg·二进制·dll
Crossoads5 天前
【汇编语言】数据处理的两个基本问题(三) —— 汇编语言的艺术:从div,dd,dup到结构化数据的访问
android·linux·运维·服务器·汇编·机器学习·数据挖掘
Crossoads5 天前
【汇编语言】数据处理的两个基本问题(二) —— 解密汇编语言:数据长度与寻址方式的综合应用
android·java·开发语言·javascript·汇编·数据挖掘·c#
Coding~6 天前
逆向攻防世界CTF系列38-xxxorrr
c语言·汇编·安全
Crossoads6 天前
【汇编语言】数据处理的两个基本问题 —— 汇编语言中的数据奥秘:数据位置与寻址方式总结
android·汇编·人工智能·redis·单片机·深度学习·机器学习
Crossoads7 天前
【汇编语言】更灵活的定位内存地址的方法(一)—— 字符操作:and与or指令、ASCII码及大小写转换
android·linux·运维·服务器·汇编·机器学习·数据挖掘
不会写算法的小沈7 天前
函数栈帧的创建与销毁
c语言·汇编·数据结构
zhuqiyua8 天前
windows二进制安全零基础(二)
汇编·安全·二进制