[A83] Re: Dividing


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

[A83] Re: Dividing




rol? never heard of that opcode..
maybe cause it doens't exist..

----------------------------------------------
Original Message
From: "Linus Akesson"<lairfight@softhome.net>
Subject: [A83] Re: Dividing
Date: Fri, 8 Jun 2001 23:45:53 +0200 (CEST)

>
>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
>
>
>
>

_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com




Follow-Ups: