1. RE: bignum progress report
- Posted by Bernie Ryan <xotron at bluefrognet.net> Oct 28, 2002
- 355 views
Christian.CUVIER at agriculture.gouv.fr wrote: > > Hi the list! > I had coded routines in 16-bit assembler for big numbers long ago (I > still think asm is best for really serious number crunching); Chris: Why don't you dig it out and use it in Euphoria. You know that you can use assembler in Euphoria, don't you. Bernie
2. RE: bignum progress report
- Posted by Bernie Ryan <xotron at bluefrognet.net> Oct 29, 2002
- 376 views
Christian.CUVIER at agriculture.gouv.fr wrote: > Yes, I know, but I'm not sure how the 16-bit thing will be handled by > Linux/Win32. It was reasonably optimized for my 386/33 (I didn't releae > this at the time), probably not adequate now. Further, it extensively > uses direct stack manipulation; I wouldn't try this in ring 3 app's... > How can I get an address for an Euphoria variable inside an ASM routine > I call()? Ok, I know, I can first poke() whatever data I need and call() > the code following this data. Isn't there a better way? > > Have a nice day! > Chris: You can use 16 bit or 32 bit (which would be easier and faster ) assembly code. Once you have saved your registers you can do anything you want; setup your own stack, etc. Bernie