Re: pointers to variables
- Posted by bernie Aug 03, 2009
- 1253 views
Very good. These base pointer offsets will end up hidden in my compiler's symbol table never to be seen again .
Now the questions - Does it support SSE4? what are the maximum number of args? are the base pointer offsets data dependent? are they always the same for the corresponding parameter? (I expect yes) The method you use for returning objects is not clear to me. Could you please elaborate?
Thanks Bernie.
Nick
Sorry, It does not support SSE4.
It is just meant to be used for general user programming.
( base pointer offsets data dependent? )
If you use "prolog4eu" then EBP + 8 will always point to the
LAST (right hand side) parameter in Euphoria parameter list
passed by Euphoria.
I really don't know what would be the limits of the number
of arguments. If you run into a limit you can always pass
a pointer to some allocated memory and take data from there.
Remember Euphoria uses the registers so the code has to return
the EAX 32-bit register which can be the data or a pointer to
the data.
If you really need a full blown compiler there is a wrapped
version of FASM assembler in the archive.