OpenVINOTM,给你看得见的未来!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 一个弱问题,cpsr_c什么意思啊

共3条 1/1 1 跳转至

一个弱问题,cpsr_c什么意思啊

菜鸟
2005-07-15 19:04:00    评分

CPSR_cxsf,cpsr_c经常程序中碰到,可我就没找到关于这个解释,

请大人们解惑,拜!




关键词: 一个     问题     什么     意思    

菜鸟
2005-07-15 19:36:00    评分
2楼

MSR - Load specified fields of the CPSR or SPSR with an immediate constant, or from the contents of a general-purpose register.

Syntax:

MSR{cond} <psr>_<fields>, #immed_8r MSR{cond} <psr>_<fields>, Rm where: cond is an optional condition code. <psr> is either CPSR or SPSR. <fields> specifies the field or fields to be moved. <fields> can be one or more of:

c control field mask byte (PSR[7:0]) x extension field mask byte (PSR[15:8]) s status field mask byte (PSR[23:16) f flags field mask byte (PSR[31:24]). immed_8r is an expression evaluating to a numeric constant. The constant must correspond to an 8-bit pattern rotated by an even number of bits within a 32-bit word. Rm is the source register.


菜鸟
2005-07-15 20:27:00    评分
3楼
多谢,看书不仔细,我看到mrs,msr基本意思就略过了,感谢21兄弟,^_^

共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]