On Sat, 2001-09-08 at 11:00, Dan Sugalski wrote:
> Okay, I'm whipping together the "fancy math" section of the interpreter 
> assembly language. I've got:
> 
> sin, cos, tan         : Plain ones
> asin, acos, atan      : arc-whatevers
> shinh, cosh, tanh     : Hyperbolic whatevers
> log2, log10, log      : Base 2, base 10, and explicit base logarithms
> pow                   : Raise x to the y power
> 
> Can anyone think of things I've forgotten? It's been a while since I've 
> done numeric work.
> 
>                                       Dan
> 

While not math, per se, there are bitops (and, or, not, xor, eqv) and
shifts (though they can be simulated by "mul tx,ty,(2^bits)" and "div
tx,ty,(2^bits)")

I doubt rolls would be useful :)

Are there going to be string ops as well, or would add and mul work on
string registers?


Brian

Reply via email to