On 2007-04-21, Peter TB Brett wrote: > On Saturday 21 April 2007 23:27:46 Petter Urkedal wrote: > > On 2007-04-21, André Pouliot wrote: > > > >Are we missing any important operators here? (Remember that the > > > >assembler will provide some derived operators like "neg", "not", "sub", > > > >etc, and that branching instructions are separate and memory > > > >instructions are orthogonal to these operators.) > > > > > > I didn't follow to closely the development for the oga1 CPU but the > > > operator that seem to be missing to me is the classical NOP. Doesn't > > > cost much to implement and it surprisingly useful for many program. > > > > Actually there are many of them: > > > > or r0, r0, r0 > > or r0, 0, r0 > > and r0, r0, r0 > > and r0, 0xffffffff, r0 > > add r0, 0, r0 > > ... > > > > Nevertheless, NOP would be useful even if the assembler silently assembles it > into one of the above.
Yes, I'll make sure to add it to the assembler, along with other derived operators like "neg", "not", "sub", "jump" etc. _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
