This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about arm multiple load and store instructions


On Tue, Oct 21, 2008 at 11:42:39AM +0800, loody wrote:
> Dear all:
> While studying some arm assembly source codes, I find there is a
> multiple load store instruction format like below:
> LDM|STM{<cond>}<addressing_mode> <Rn>{!}, <registers>{^}
> 
> My question is:
> What is the last ^ used for? I cannot find any explanation in arm's
> instruction reference menu.

It's LDM(2) and LDM(3) in my copy of the ARM instruction reference.
Without PC, it means "load user registers instead of current
registers"; with PC it means "also copy SPSR to CPSR".  They're both
for privileged use only.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]