From: pito <pi...@vo...> - 2010-09-14 17:34:39
|
Hi Leon, I am preparing two words - f/ and f* in asm. The results from simulator are: f_mul 190cycles, 7.6us @25MHz f_div 735cycles, 29.4us @25MHz. You may add a few usec for an overhead. The mul and div routines works. The words has been compiled with amforth already, however I still have problem with passing from/to stack so I cannot get the right results on stack (could be other problem too), therefore I've asked Marcin to help a little bit, when possible. The routine is using 9 registers (except R24, R25, and YL YH), all the tempx regs and few stack positions. The words are only ~350 bytes big. Pito |