Thanks,
I'll check this out.
~d

On Thursday 12 December 2002 11:45, David Brown wrote:
> > > not possible to optomise the 7 "rla" instructions as a "swapb" then an
> > > "rra" ?
> >
> > You'll loose 1 bit then. I thought about it...
>
> I see what you mean.  But what about the sequence:
>     rrc r
>     rlc.b r
>     swap
>     rrc r
>
> If we start with r = [xxxxxxxA][BCDEFGHI], this gives:
>     rrc r: [xxxxxxxx][ABCDEFGH], carry = I
>     rlc.b r: [00000000][BCDEFGHI], carry = A
>     swap: [BCDEFGHI][00000000], carry = A
>     rrc r: [ABCDEFGH][I0000000], carry = 0
>
>
> mvh.

-- 
*********************************************************************
   ("`-''-/").___..--''"`-._     (\       Dimmy the Wild      UA1ACZ
    `6_ 6  )   `-.  (     ).`-.__.`)      Enterprise Information Sys 
    (_Y_.)'  ._   )  `._ `. ``-..-'       Nevsky prospekt,   20 / 44
  _..`--'_..-_/  /--'_.' ,'               Saint Petersburg,   Russia
 (il),-''  (li),'  ((!.-'                 +7 (812) 314-8860, 5585314
*********************************************************************




Reply via email to