Marco DI LEO wrote: > Please double check your statement. I just downloaded from my page > the tea11.zip file and compiled tea.asm with the enclosed > teatest.asm and math32.inc. After the call at TEAenc > .... > you can see my code produces the correct values (0x41ea3a0a > 0x94baa940). I don't know wy you get the cited result. Have you used > the test drive code I supply or did you write another Marco: I just ran your code again, and it produced the same (incorrect) results that I mentioned earlier. I used your TEATEST.ASM front-end, your MATH32.INC file, the P16F84.INC file distributed with MPASM, and MPLAB-SIM 3.32.18. I'll take a third look at it later this afternoon and let you know what I discover. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499 (personal) === http://www.netcom.com/~fastfwd (business)