Mail Archives: djgpp/1998/08/23/19:54:22
George Foot wrote:
> On 23 Aug 98 at 11:39, Endlisnis wrote:
> > I was trying to make an 'RGB' function that took 3 byte's as parameters and
> > returned a long. My idea was to do something like:
> > That would be faster than loading R,G,B into registers then combining them into
> > one register.
>
> Hmm. Write your own function then; you can then access the
> parameters directly, on the stack.
But, wouldn't it be easier, if you could access the parameters of a function as their
names (in ASM) (with an underscore if required) rather than having to use the stack?
Would that interfere with anything or be hard to do?
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -