Understanding mx6_plugin.S assembly

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

Understanding mx6_plugin.S assembly

1,040 次查看
mrigendra_chaub
Contributor III

In file mx6_plugin.S I see this code

plugin_start:

push {r0-r4, lr}

Why only push r0 to r4 and why not r0 to r6?

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

971 次查看
igorpadykov
NXP Employee
NXP Employee

Hi mrigendra

seems r0 to r4 are used by rom (unfortunately rom sources are not

available), plugin function must return so they are preserved.

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

0 项奖励
回复