Re: Who said registers are born equal ?
From: The Wannabee (faq_at_.@.@SZMyggenPV.com)
Date: 09/01/04
- Next message: The Wannabee: "Re: Helpful Practical Uses of Conditional Assembly"
- Previous message: Percival: "Re: Who said registers are born equal ?"
- In reply to: Percival: "Re: Who said registers are born equal ?"
- Next in thread: Percival: "Re: Who said registers are born equal ?"
- Reply: Percival: "Re: Who said registers are born equal ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 01 Sep 2004 02:59:16 +0200
På 1 Sep 2004 00:51:32 GMT, skrev Percival <dragontamer5788@yahoo.com>:
> The Wannabee wrote:
>>> Just about doing everything to eax is faster and shorter than the
>>> other registers.
>>
>>
>>> Including adds, subtracts, multiplies and divides... Wait, you can
>>> only divide using eax :)
>>
>>
>> and multiplies via eax too, which destroy edx
>>
>> mov edx 30
>> mov eax 20
>> mul edx
>> ;eax:edx contains answer
>
> Did you forget
>
> imul ebx, edx
Yes, I did forget it, cause I have used it only once; After reading that
wolfgang said it was faster then mul, i used the search replace in RosAsm
an changed all of them in one second. It turned out, only one of them
caused a bug. Such things you can do in HLA ? Its not monofile, has no
ide. ;-) You had to load up one crappy file after the other, oh lord what
a mess, poor sufferers. But you are a FASMite arnt you, so HLA doesnt
apply to you anymore ? :-))) Hehehe
> But you are true, you can't do an unsigned multiply without destroying
> eax.
>
> Percival
--
- Next message: The Wannabee: "Re: Helpful Practical Uses of Conditional Assembly"
- Previous message: Percival: "Re: Who said registers are born equal ?"
- In reply to: Percival: "Re: Who said registers are born equal ?"
- Next in thread: Percival: "Re: Who said registers are born equal ?"
- Reply: Percival: "Re: Who said registers are born equal ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|