lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Now Sebby:
> 
> > 		_asm
> > 		{
> > 			mov esp, Stack;
> > 		}
> >
> 
> Thanks a lot for your sample. It's really inspiring. Alas, this little trick
> it's the reason why I cannot use the strategy then: the code must be
> platform independent and I am not sure how to change this for the port to
> Risc machines. Anyway, I'll keep in mind that this is a possibility.

This is not a lot of code to manage cross-platform. On a typical RISC
machine the instruction would surely just become:

mov sp, stack

or somesuch...

-- 
http://sc3d.org/rrt/ | wit, n.  educated insolence (Aristotle)