In message <199605300621.XAA26467@dfw-ix5.ix.netcom.com> fastfwd@ix.netcom.com writes: > Steve Hardy wrote: > > > > From: Andrew Warren > > > > > > I have in front of me a 16-bit square-root routine that takes only > > > 126 cycles to execute on a PIC16C5x. It's pretty amazing; when I > > > received it, I offered its author a job. Unfortunately, he lives > > > in Germany, so he wasn't interested... > > > > Andy: how much program and register space does it use? > > Steve: [snip] > Here are the numbers: > > RAM: 4 registers, including the two that hold the 16-bit input. > ROM: 24 words. > > See? I TOLD you it was amazing... > > -Andy > If my memory serves me correctly, the forth based RTX2000 series processors have a fast square root instruction. I'm sure the microcode could be transferred to PIC code. Does anyone have any experience with these chips and can work it out? Mike