> == Simple Instructions ==
>
> The simple instructions combine a register and either a register and an
> immediate, and store the result in a register.  The original simple
> instructions are as follows.  The last parameter is the write-back
> register.

I realise it's not a critical issue, but most RISC assembly syntax put the 
destination register first. Every time I have to deal with a "backwards" 
syntax it takes me a while to re-adjust.

> == Branching Instructions ==
>
> The branching is controlled by 3 bits
>
>   * negation of branch condition
>   * branch if zero
>   * branch if negative

I notice that you haven't provided any way to access the ALU carry flag. This 
is going to make unsigned comparisons and doubleword (64-bit) arithmetic very 
hard. It's not impossible (I've worked on compiler ports for such machines), 
but gets really ugly. FWIW MIPS exposes it via the sltu instruction.

If you've deliberately decided this isn't an important feature for this 
application then it's maybe worth mentioning that in the architecture docs.

Paul
_______________________________________________
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