WE DSP16A Digital Signal Processor Special Function Instructions All forms of the special function instructions execute in one instruction cycle: aD=aS>>1 aD=aS>>4 . see pas Arithmetic right shift (sign preserved) of aD=aS>>8 . 36-bit accumulators aD=aS>>16 aD=aS aD=—aS aD=rnd(aS) — Round upper 20-bits of accumulator aDh=aSh+1 — Increment upper half of accumulator (lower half cleared) aD=aS+1 — Increment accumulator aD=y aD=p aD=aS<<1 aD=aS<<4 Logical left shift (sign not preserved) of the lower 32 bits of accumulators (upper 4-bits are sign-bit-extended aD=aS<<8 : : . from bit 31 at the completion of the shift) aD=aS<<16 The above special functions can be conditionally executed if CON instruction and with an event counter ifc CON instruction which means: if CON is true then c1=c1+1 instruction c2=c1 else c1=ci+1 Table 3. Replacement Table for Special Function Instructions [Replace | Value =| Meaning’ =~ aD as a0, al One of two DAU accumulators CON mi, pl, eq, ne, gt, le, lvs, mvs, | See Table 7 for definitions of mvc, cOge, cOlt, cige, cilt, mnemonics heads, tails, true, false 6