Understanding mx6_plugin.S assembly

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

Understanding mx6_plugin.S assembly

536 Views
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?

Tags (1)
0 Kudos
1 Reply

467 Views
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 Kudos