Hello everyone, With a bit more thought I was able to solve my previous question, however the answer to this next question is beyond a simple beginner. I need assembly code to solve this formula: angle = a + (b * count) where a = 82.9 b = -0.2 count is a ten bit integer angle is also an integer, so I have to add on .5 to the result I've been to the Microchip site where I found a lot of documents that discuss floating point maths but no code examples. Can someone please help? -- Regards, Phil. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body