User`s manual
Chip Errata
DSP56305 Digital Signal Processor
Mask: 0F13S
DSP56305 Errata 1996 - 2002 Motorola pg. 37 /ng/12/20/02
ED33
Description (added 12/16/98; identified as a Documentation errata
2/1/99):
When Stack Extension mode is enabled, a use of the instructions
BRKcc or ENDDO inside do loops might cause an improper
operation. If the loop is non nested and has no nested loop inside
it, the erratais relevant only if LA or LC values are being used
outside the loop.
Workaround:
If Stack Extension is used, emulate the BRKcc or ENDDO as in the
following examples. We split between two cases, finite loops and do
forever loops.
1) Finite DO loops (i.e. not DO FOREVER loops)
==============================================
BRKcc
Original code:
do #N,label1
.....
.....
do #M,label2
.....
.....
BRKcc
.....
.....
label2
.....
.....
label1
Will be replaced by:
do #N, label1
.....
.....
do #M, label2
.....
.....
Jcc fix_brk_routine
.....
.....
0F13S
Errata
Number
Document Update
Applies
to Mask