Re: A83: HL\2


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

Re: A83: HL\2




FYI:
If you ever have to divide by X and X doesn't fit to the binary pattern
like 2, 4, 8, 16, etc. then you could have looked in you ti83asm.inc
(Oooohhhh) and found _divHLbyA and just use it.

BTW, what is the function to get the S(n) for the binary, or is there
one?

Linus Akesson wrote:
> 
> Shift h right one step, then rotate l through carry to the right.
> 
> sra h
> rr  l
> 
> Linus
> 
> On 30-Aug-98, Alan C Johnson wrote:
> 
> >How can I divide HL by 2?
> >_____________________________________________________________________
> >You don't need to buy Internet access to use free Internet e-mail.
> >Get completely free e-mail from Juno at http://www.juno.com
> >Or call Juno at (800) 654-JUNO [654-5866]


References: