当前位置: 首页 > article >正文

ARM Process state -- CPSR

Holds PE status and control information.
保存PE状态和控制信息。

N, bit [31]
    Negative condition flag. Set to bit[31] of the result of the last flag-setting instruction. If the result is regarded as a two's complement signed integer, then N is set to 1 if the result was negative, and N is set to 0 if the result was positive or zero.

    负条件标志。设置为最后一个标志设置指令结果的第[31]位。如果结果被视为2的补码有符号整数,则如果结果为负,则N设置为1,如果结果为正或零,则N设为0。

Z, bit [30]
    Zero condition flag. Set to 1 if the result of the last flag-setting instruction was zero, and to 0 otherwise. A result of zero often indicates an equal result from a comparison.

    零条件标志。如果最后一个标志设置指令的结果为零,则设置为1,否则设置为0。结果为零通常表示比较结果相等。

C, bit [29]
    Carry condition flag. Set to 1 if the last flag-setting instruction resulted in a carry condition, for example an unsigned overflow on an addition.

    携带状态标志。如果最后一个标志设置指令导致进位条件,例如加法时的无符号溢出,则设置为1。

V, bit [28]
    Overflow condition flag. Set to 1 if the last flag-setting instruction resulted in an overflow condition, for example a signed overflow on an addition.

    溢出状态标志。如果最后一个标志设置指令导致溢出情况,例如加法时的有符号溢出,则设置为1。

Q, bit [27]
    Cumulative saturation bit. Set to 1 to indicate that overflow or saturation occurred in some instructions.

    累积饱和位。设置为1表示某些指令中发生了溢出或饱和。


GE, bits [19:16]
    Greater than or Equal flags, for parallel addition and subtraction.
    
    大于或等于标志,用于并行加法和减法。


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. The possible values of this bit are:
    0b0  Exception not masked.
    0b1  Exception masked.

I, bit [7]
    IRQ mask bit. The possible values of this bit are:
    0b0  Exception not masked.
    0b1  Exception masked.

F, bit [6]
    FIQ mask bit. The possible values of this bit are:
    0b0  Exception not masked.
    0b1  Exception masked.


M, bits [3:0]
    Current PE mode. Possible values are:
    0b0000  User.
    0b0001  FIQ.
    0b0010  IRQ.
    0b0011  Supervisor.
    0b0110  Monitor.
    0b0111  Abort.
    0b1010  Hyp.
    0b1011  Undefined.
    0b1111  System.


http://www.kler.cn/news/332130.html

相关文章:

  • CNN卷积神经网络算法原理
  • 考研日语 - 高频核心 2200 词(九)
  • 9.25 数据结构-二叉树 排序 查找算法总结
  • Object.values() 、 Object.keys()
  • 算法:852.山脉数组的峰顶索引
  • 【论文写作】使用MSE评价如何描述模型优劣
  • 知识图谱入门——5:Neo4j Desktop安装和使用手册(小白向:Cypher 查询语言:逐步教程!Neo4j 优缺点分析)
  • FFT 分析基础-笔记
  • js列表数据时间排序和取唯一值
  • 【数据结构强化】应用题打卡
  • Spring Boot中使用ThreadPoolTaskScheduler实现轻量级多线程定时任务
  • 春日时尚:Spring Boot助力“衣依”服装销售平台
  • 【CTF Web】Pikachu xss之href输出 Writeup(GET请求+反射型XSS+javascript:伪协议绕过)
  • ClickHouse 引擎的选择
  • 【Spring】@RequestMapping、@RestController和Postman
  • GIT 迁移到GIT
  • (JAVA)队列 和 符号表 两种数据结构的实现
  • day22 Collection 迭代器 增强for List
  • 启动服务并登录MySQL9数据库
  • [C++]使用纯opencv部署yolov11目标检测onnx模型