MPC860 Memory Addressing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC860 Memory Addressing

1,149 次查看
ninjahipster
Contributor I

deleted

标记 (1)
0 项奖励
回复
2 回复数

989 次查看
ninjahipster
Contributor I

deleted

0 项奖励
回复

989 次查看
Pavel
NXP Employee
NXP Employee

Use Appendix A of the MPCFPE32B.pdf file or Appendix B of the MPC823UM.pdf file.

These files can be loaded using the following links:

http://cache.nxp.com/files/product/doc/MPCFPE32B.pdf?fsrch=1&sr=1&pageNum=1

http://cache.nxp.com/files/product/doc/MPC823UM.pdf?fsrch=1&sr=1&pageNum=1

The "lis" instruction is equivalent to addis rD,0,value instruction.

Definition: Add Immediate Shifted

Operation: if rA = 0 then rD " EXTS(SIMM || (16)0)

else rD " (rA) + EXTS(SIMM || (16)0)

Description: The sum (rA|0) + (SIMM || 0x0000) is placed into rD.

The addis instruction is preferred for addition because it sets few status bits. Note that addis uses the value 0, not the contents of GPR0, if rA = 0.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复