arm assembly doubt

Surenkumar Nihalani suren at gatech.edu
Wed Feb 15 23:34:11 EST 2012


Hi,
On Feb 15, 2012, at 11:30 PM, subin gangadharan wrote:

> Hi ,
> 
> I am trying to understand how system call is implmented in linux for
> arm.And I am not that familiar with arm assembly.
> 
> Could any body please help me to understand what exactly this ^ does
> in this instruction stmdb r8,{sp,lr}^
> 
> -- 
> With Regards
> Subin Gangadharan
> 
> I am not afraid and I am also not afraid of being afraid.
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Example:
	LDFMD sp!, {r0-r12, pc}^
- The ^ qualifier specifies that the CPSR is restored from the SPSR. 
   It must be used only from a privileged mode.




More information about the Kernelnewbies mailing list