Using the Math Library for dsPIC assembly

Discussion in 'Programmer's Corner' started by dave_kish, Nov 13, 2007.

  1. dave_kish

    Thread Starter New Member

    Oct 17, 2007

    I'm trying to implement some trig operations for my dsPIC. I know that the Math library is C-callable by the assembly language, but for the life of me, I haven't been able to find out how.

    I've searched and searched the net for instructions, including on the microchip website, but all I've found were instructions on how to add/subtract, multiply/divide, comparison functions, and conversion. I still have NO idea how to call, say, an atan function.

    Help is appreciated,

    edit: Found it, finally! nevermind! :)