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

Re: [f-cpu] manual 0.2.5 quirks



On Tue, Jun 04, 2002 at 03:34:46PM +0200, Yann Guidon wrote:
[...]
> > - Register naming is inconsistent in sub and div:
> > 
> > 	sub r3, r2, r1 => r1 = r2 - r3
> > 	div r3, r2, r1 => r1 = r3 / r2
> > 
> >   The `sub' variant is more logical.
> For the division, the divisor should be R3
> so we can easily catch division by zero.

That's what I meant.

> > - The current ASU sets the `borrow' register to 1, not -1.
> >   See vhdl/eu_asu/iadd.vhdl, line 344ff.
> do you number lines in hexa ?

Sorry... line 344 and the following 7-odd lines.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/