Re: A86: help w/ new pud
[Prev][Next][Index][Thread]
Re: A86: help w/ new pud
No, each time you add HL to itself, which is, in effect, HL = HL * 2. Do
this 4 times, and you get HL = HL * 16. HL = HL * 2 * 2 * 2 * 2. Powers
of two.
At 09:31 PM 7/21/98 EDT, you wrote:
>
>>add hl,hl ; multiply by 2
>>add hl,hl ; " by 4...
>>add hl,hl ; " by 8...
>>add hl,hl ; and by 16
>
>but if you did this adding thing, wouldn't you get 5*HL? or are you adding hl
>together,then loading that into another register, and then adding 2*HL to
>that?
>
>
>
>Glen
>no http:// yet
>
--
David Phillips
mailto:electrum@tfs.net
ICQ: 13811951
AOL/AIM: electrum32
References: