1. Assembly in Euphoria
I have a some assembly routines I'm converting from C to Euphoria - this in
itself is posing no problems - except for one thing... the asm routines leave
values in the registers that I need to be able to see in Euphoria. I know very
little asm, so I can't convert the asm routines at all.
Any hints?
Thanks,
Pete Millan
2. Re: Assembly in Euphoria
You have to allocate some memory in Euphoria and pass a pointer to
the assembler that tells the assembler where the memory is. Then
mov the returned registers into that memory location and return to
euphoria and use peek to get the data out of memory.
Take a look at my my mixed library it might help you.
Bernie
3. Assembly in Euphoria
- Posted by John DeHope <jwap at TAMPABAY.RR.COM>
May 06, 1998
-
Last edited May 07, 1998
Is anybody willing to write an introduction to writing Assembly language
routines for Euphoria?
John DeHope.