MPC860 Memory Addressing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC860 Memory Addressing

698 Views
ninjahipster
Contributor I

deleted

Tags (1)
0 Kudos
Reply
2 Replies

538 Views
ninjahipster
Contributor I

deleted

0 Kudos
Reply

538 Views
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 Kudos
Reply