Forums - having issues with misaligned load

2 posts / 0 new
Last post
having issues with misaligned load
phalgunb
Join Date: 6 Oct 14
Posts: 18
Posted: Sat, 2014-11-22 01:24

hi,

I have written assembly for a particular function and when i try to run the whole project it gives me the following error.

CRASH from thread 0!
I think the exception was: Error, cause:Misaligned Load @ 0x24f6
Register Dump (r0 and tid were clobbered):
r00=000000cd r01=000024fa r02=00002c52 r03=00000004
r04=fd4fffea r05=1000f964 r06=ff49fe1f r07=fcfafed3
r08=fe6c00ac r09=00da0060 r10=00c700a6 r11=fff4fed1
r12=00000001 r13=00001000 r14=ffffffff r15=fffffffe
r16=fffffffc r17=0003aa20 r18=00008000 r19=0000170a
r20=0003b590 r21=0003d508 r22=00002c52 r23=0003b58e
r24=0003b890 r25=000051ec r26=00000d29 r27=00000e52
r28=01260126 r29=0413ee68 r30=0413f068 r31=000078e0
sa0=000121e0 lc0=00000001 sa1=00000000 lc1=00000000
p30=000000ff  m0=00000000  m1=00000000  sr=00010001
 pc=00000894 ugp=00000000
sgp=00001220 ssr=00740020 imask=00000000 badva=000024f6
elr=0000d44c tid=00000002
evb=00004000 ipend=00000000 syscfg=0081007f modectl=00000001
 
I have tried to debug it. but in debug mode it is not showing any error and i get the required output. only when i run it normally i have this error. could you please help me with this. how ever i saw whether the function declaration was there or not. it was declared properly.
 
regards,
phalgun
  • Up0
  • Down0
brianp
Join Date: 5 Dec 12
Posts: 41
Posted: Tue, 2015-05-12 14:53

Please see similar posted question in this forum for details.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.