MPC860 Memory Addressing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC860 Memory Addressing

1,155件の閲覧回数
ninjahipster
Contributor I

deleted

タグ(1)
0 件の賞賛
返信
2 返答(返信)

995件の閲覧回数
ninjahipster
Contributor I

deleted

0 件の賞賛
返信

995件の閲覧回数
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 件の賞賛
返信