[A83] Re: Dividing
[Prev][Next][Index][Thread]
[A83] Re: Dividing
In accordance with the prophecy, SOCCERK121@aol.com uttered:
>
> How would I go about dividing two 2 bit registers or two 2 bit variables?
> Thanks all.
>
> -Joel
lol.. something like this, for h over l:
ld ix,here
ld a,l
rol a
rol a
and 12
or h
ld (here+2),a
here: ld a,(ix+0)
ret
.db 0,1,2,3,0,0,1,1,0,0,0,1
Linus
--------------------------------------------- http://www.df.lth.se/~lft ---
I wonder why. I wonder why.
I wonder why I wonder.
I wonder WHY I wonder why
I wonder why I wonder!
-- Richard P. Feynman
References: