jya
02-11-00, 10:13 AM
In the past few years, I've written a number of utility words in assembler for speed. Will Stewart and Anil Rodriguez have shared a lot of good code with me, and could probably be persuaded to make it public by posting it here. Rob Chapman has been very helpful, providing some code and explaining the uses of some I had trouble understanding.<p>My code is available for the asking. I have old standards like WITHIN and NIP , and odd stuff like SWAP- , which is as fast as - , but subtracts the arguments in reverse order. I find U2/ particularly useful for the kind of things I do. U/ and U/MOD take only 99 cycles; / takes nearly 2000, and /MOD about 1800. I'm happy to share my stuff, and even happier to benefit from other's.<p>----------<br>Engineering is the art of making what you want from things you can get.<br>