Re: length of a string?
From: Ivan Kossey (Kossey_at_cablenet.de)
Date: 12/16/04
- Next message: Agoston Bejo: "More projects in a C++ solution: how to link them together?"
- Previous message: Igor Tandetnik: "Re: Loading mixed-mode application without .NET installed"
- In reply to: Bonj: "Re: length of a string?"
- Next in thread: Bonj: "Re: length of a string?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 20:13:36 +0100
The only difference is that dec does not set the carry flag. If You need
carry decrementig zero then use
sub eax,1
otherwise dec eax is shorter and use it.
Cheers
Ivan Kossey
"Bonj" <Bonj@discussions.microsoft.com> wrote in message
news:E942AD39-1E3F-4C7E-9507-B649DA3D3CD8@microsoft.com...
> Is
> sub eax, 1
> better than
> dec eax
> ?
>
- Next message: Agoston Bejo: "More projects in a C++ solution: how to link them together?"
- Previous message: Igor Tandetnik: "Re: Loading mixed-mode application without .NET installed"
- In reply to: Bonj: "Re: length of a string?"
- Next in thread: Bonj: "Re: length of a string?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|