RE: [PATCH] assemble.pl registers go from 0-31

2001-09-24 Thread Hong Zhang
> >Just curious, do we need a dedicated zero register and sink register? > > I've been pondering that one and waffling back and forth. At the moment I > don't think so, since there's no benefit to going with a zero register over > a zero constant, but that could change tomorrow. For example,

RE: [PATCH] assemble.pl registers go from 0-31

2001-09-24 Thread Benjamin Stuhl
--- Hong Zhang <[EMAIL PROTECTED]> wrote: > Just curious, do we need a dedicated zero register and > sink register? > The zero register always reads zero, and can not be > written. The sink > register can not be read, and write to it can be ignored. Those, probably not = we have a real nop, and i

RE: [PATCH] assemble.pl registers go from 0-31

2001-09-24 Thread Dan Sugalski
At 09:39 AM 9/24/2001 -0700, Hong Zhang wrote: > > Attached patch makes sure you don't try and use register numbers over > > 31. That is, this patch allows registers I0-I31 and anything else gets > > a: Error (foo.pasm:0): Register 32 out of range (should be > > 0-31) in 'set_i_ic' > > > > Oh, the

RE: [PATCH] assemble.pl registers go from 0-31

2001-09-24 Thread Michael Maraist
> Just curious, do we need a dedicated zero register and sink register? > The zero register always reads zero, and can not be written. The sink > register can not be read, and write to it can be ignored. I brain-stormed this idea a while ago, and here's what I came up with. We're not RISC, so we

RE: [PATCH] assemble.pl registers go from 0-31

2001-09-24 Thread Hong Zhang
> Attached patch makes sure you don't try and use register numbers over > 31. That is, this patch allows registers I0-I31 and anything else gets > a: Error (foo.pasm:0): Register 32 out of range (should be > 0-31) in 'set_i_ic' > > Oh, there's also a comment at end of line patch that has snuck i

Re: [PATCH] assemble.pl registers go from 0-31

2001-09-22 Thread Bryan C . Warnock
On Saturday 22 September 2001 04:05 pm, Leon Brocard wrote: > Attached patch makes sure you don't try and use register numbers over > 31. That is, this patch allows registers I0-I31 and anything else gets > a: Error (foo.pasm:0): Register 32 out of range (should be 0-31) in > 'set_i_ic' > Except

Re: [PATCH] assemble.pl registers go from 0-31

2001-09-22 Thread Simon Cozens
On Sat, Sep 22, 2001 at 09:05:53PM +0100, Leon Brocard wrote: > Attached patch makes sure you don't try and use register numbers over > 31. That is, this patch allows registers I0-I31 and anything else gets > a: Error (foo.pasm:0): Register 32 out of range (should be 0-31) in 'set_i_ic' Applied,

[PATCH] assemble.pl registers go from 0-31

2001-09-22 Thread Leon Brocard
Attached patch makes sure you don't try and use register numbers over 31. That is, this patch allows registers I0-I31 and anything else gets a: Error (foo.pasm:0): Register 32 out of range (should be 0-31) in 'set_i_ic' Oh, there's also a comment at end of line patch that has snuck in 'cos it's s