Question
This problem is related to ADSP-TS101S TigerSHARc assembly code. In call and
jump instructions,is it compulsory to include the '.align_code 4' statement?
Could you explain in detail the requirement of this statement?
Answer
The directive .align_code 4; needs to be added as a workaround for the
following anomalies. Please refer to the ADSP-TS101 Anomaly sheet for more
details on this:
15. 03000105 - BTB miss on target of non-quad aligned jump.
40. 03000149 - Predicted unaligned branches may fail.
56. 03000168 - First instruction of an ISR has to be quad-aligned.