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.

Peter



-- 
Fisher Society committee                    http://tinyurl.com/o39w2
CUSBC novices, match and league secretary   http://tinyurl.com/mwrc9
CU Spaceflight                              http://tinyurl.com/ognu2

v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
  hackerkey.com                                  peter-b.co.uk

Attachment: pgp05SUB8kSWK.pgp
Description: PGP signature

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to