Forums

ADSP 218x AV bit

Started by Ephreal June 16, 2011
Hi

I'm corrently playing around with an 2183 ADSP, and writing some test
programs for it. However I fail to understand the logic behind the AV bit
in the astat register. I have to user guide, and I've read and understand
the principle of it however I would like a more indepth knowledge.

Can anyone here explain how it works, and/or have som examples how to test
the bit. 

Thank you 

/Ephreal



Ephreal wrote:

> Hi > > I'm corrently playing around with an 2183 ADSP, and writing some test > programs for it. However I fail to understand the logic behind the AV bit > in the astat register. I have to user guide, and I've read and understand > the principle of it however I would like a more indepth knowledge. > > Can anyone here explain how it works, and/or have som examples how to test > the bit.
AV = ALU overflow. It is set whenever the ALU result was folded from positive to negative or from negative to positive through 32767/-32768 border. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com