I can't believe I did it again. Please forgive me. I promise I'm gonna be more carefull. I wrote without the appropriate tag: > Hi > > I'm having some trouble to work with some routines from AN617 (FXD0808U, FXM0808U). I don't know what is the format of the numbers. Could anyone help me? > > The routines from AN617 are the best choice? I also have some problems to compile them with tpasm under linux (I'm working with 16F877). Thanks in advance. > > Rodrigo Real > Scott Dattalo wrote: >You oughta grab gpasm. Several enhancements in the last few weeks make it almost 100% compatible with MPASM. >In fact I was using tpasm, but I downloaded gpasm 0.8.15 and got these messages: ... Error FXM88.A16 265 : 103 parse error Error FXM88.A16 283 : 103 parse error Error FXM88.A16 341 : 157 maybe_evaluateCan't evaluate expression Error FXM88.A16 341 : 157 maybe_evaluateCan't evaluate expression ... These errors repeated a lot, pointing to all lines that have labels like the one below. GOTO UM0707NA#v(i) Is it because of the hash simbol? >As for the fixed point stuff, geez I wish I had time to help. Could someone else give me a clue on that? I tried to work with Q6.2 but it didn't work fine. Now I'm using the 1616 routines and working with Q10.6 (that's what I really want), but the results are far from the expected. []s Rodrigo Real -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.