Re: A86: help w/ new pud
[Prev][Next][Index][Thread]
Re: A86: help w/ new pud
Jeanne9005@aol.com wrote:
>
> i have this program that i downloaded for a pc assembly, and i'm trying to
> convert it to the calc's asm. how do i multiply (hl,$0f)????
You want to multiply hl by 16? Try doing this:
add hl,hl ; multiply by 2
add hl,hl ; " by 4...
add hl,hl ; " by 8...
add hl,hl ; and by 16
There is probably a faster/easier way, but that's how
I'd do it.
If you want to multiply a point (hl,$0f) by something
-- I'm not sure what you mean -- you could just do two
individual multiplications.
Bryan
--
Bryan Rittmeyer
mailto:bryanr@flash.net
http://www.flash.net/~bryanr/
References: