AnsweredAssumed Answered

blackfin special addressing trick(AAU)

Question asked by pfeifferc on Oct 18, 2017
Latest reply on Oct 26, 2017 by Kader.M

hi !

as mentioned in BF-progr.reference "the processor is byte addressed.

All data accesses must be aligned to the data size....."

 

but.....

1)I'm able to set a u32-pointer pU32 to a not aligned address 0xff8057e1 without any error

2) accessing this as u32 value via *pU32 give correct results

is there any disadvantage ? it works but its not defined

 

an inc : pU32++  throws a fatal exception which is clear and understandable

 

regards chris

Outcomes