Re: A82: Help


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

Re: A82: Help




Thanks but I read back you routine and I saw that 64 should stay 64 whereas in
my routine it becomes 96. If you want it acts exactly as your routine you add
before:
bit	6,b
ret	nz

and the routine is now 10 bytes :-(.

Eric

On Wed, 22 Sep 1999, Kouri wrote:

> 
> Hey, thanks. That was quite some clever thinking. It even rounds up to multiples of 32 that are greater than 64. Fantastic! You da man, Eric :)
> 
> --
> 
> On Wed, 22 Sep 1999 19:05:38   Eric Piel wrote:
> >
> >Humm....
> >I think it's better (about 7 bytes):
> >
> >ld	a,b
> >add	a,32	;31 to act as the second routine
> >and	11100000b
> >ld	b,a
> >ret
> >
> >Eric Piel
> 
> 
> HotBot - Search smarter.
> http://www.hotbot.com
> 



References: