Re: A86: Bit Shifts


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

Re: A86: Bit Shifts




At 18:28 1998-05-13 EDT, you wrote:
>
>Doesn't
>	sla		a
>have the same effect as
>	add		a,a

Yup, but a dd a,a  is faster & smaller... both instructions sets the
flags (at least the Z and C flag) the same way too.

--
Real name: Jimmy Mårdell                "can't go mucking with a 'void *'"
IRC......: Yarin                                // Apple's MPW C compiler
Email....: mailto:yarin@acc.umu.se        
Homepage.: http://www.algonet.se/~mja/


References: