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

new topic     » topic index » view message » categorize

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

new topic     » goto parent     » topic index » view message » categorize

3. Assembly in Euphoria

Is anybody willing to write an introduction to writing Assembly language
routines for Euphoria?

John DeHope.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu