ARM Process state -- SPSR

news/2024/10/4 7:09:09/

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.


http://www.ppmy.cn/news/1533522.html

相关文章

CI/CD详细流程

CI/CD(持续集成/持续交付或持续部署)是一种软件开发实践,旨在通过自动化软件构建、测试和部署的过程,提高开发效率和软件质量。以下是CI/CD流程的详细说明: 1. 持续集成(CI) 持续集成的核心思想…

R包:ggheatmapper热图

加载R包 # devtools::install_github("csgroen/ggheatmapper")library(tidyverse) library(patchwork) library(ggheatmapper)数据 data(tcgaBLCA_ex) gexp <- tcgaBLCA_ex$gexp图1 gghm <- ggheatmap(gexp,hm_colors RdBu,hm_color_values scales::resca…

【Linux】解锁磁盘文件奥秘,高效数据管理的实战技巧

磁盘文件 1. 引言2. 磁盘的机械构成3. 磁盘的物理存储3.1. CHS定位寻址法 4. 磁盘的逻辑存储4.1. LBA地址4.2. inode4.3. 分区、分组4.4. Boot Block4.5. 块组 — Block group4.5.1. inode Table4.5.2. Data Blocks4.5.3. inode Bitmap4.5.4. Block Bitmap4.5.5. GDT4.5.6. Sup…

Ref-NeuS参数记录

前言 这篇文章中的uncertainty估计非常值得参考&#xff0c;尤其是寻找当前view到其他view的投影点&#xff0c;这里记录一下这部分代码的参数&#xff0c;因为它起名实在太混乱了&#xff01;&#xff01; code 假设有一共有36个view&#xff0c;每次取4096条光线&#xff…

执行力怎么培养?

执行力怎么培养&#xff1f; 并行&#xff1a;适合在初期养成习惯&#xff0c;不抱对结果的期望天才就是强迫症&#xff1a;适合中期修身&#xff1a;适合高级 并行&#xff1a;适合在初期养成习惯&#xff0c;不抱对结果的期望 在你开始做任何事情的时候&#xff0c;不要一开…

Threejs绘制圆锥体

上一章节实现了胶囊体的绘制&#xff0c;这节来绘制圆锥体&#xff0c;圆锥体就是三角形旋转获得的&#xff0c;如上文一样&#xff0c;先要创建出基础的组件&#xff0c;包括场景&#xff0c;相机&#xff0c;灯光&#xff0c;渲染器。代码如下&#xff1a; initScene() {this…

【深海王国】初中生也能画的电路板?目录合集

Hi٩(๑ ^ o ^ ๑)۶, 各位深海王国的同志们&#xff0c;早上下午晚上凌晨好呀~辛勤工作的你今天也辛苦啦 (o゜▽゜)o☆ 今天大都督为大家带来系列文章《初中生也能画的电路板》&#xff0c;帮你一周内快速入门PCB设计&#xff0c;手把手教你从元器件库添加、电路原理图绘制、…

宠物空气净化器希喂和352哪个好用?两大爆火机型哪款吸毛、除臭效果比较好?

猫毛、狗毛、鹦鹉毛&#xff0c;总之只要家里养着有带毛的宠物&#xff0c;毛就会出现在各种地方&#xff0c;床上、沙发上、衣服上、水杯里...根本躲不开。而且&#xff0c;除了肉眼可见的&#xff0c;呼吸时、说话时&#xff0c;不经意间还会吃到毛毛。这些毛毛飘在空气里时&…