Re: HLA Paren Rules
- From: "randyhyde@xxxxxxxxxxxxx" <randyhyde@xxxxxxxxxxxxx>
- Date: 15 May 2006 16:43:23 -0700
Eman wrote:
"One-to-one" is somewhat troublesome and maximalistic expression,
but we should be smart enough to understand the point. Actually,
macros do not violate "total control" principle because they are
under developer' control. In contrast to "intrinsic" "niceties".
So what is the difference between a macro of the form "if( eax=ebx)"
and a statement of the same form provided by the assembler? From the
user of that statement, none whatsoever at all.
Then you have synonyms, like JB and JC or NOP and XCHG eax, eax
where two instructions map to the same exact machine code. Again, the
one-to-one correspondance is broken.
?
JB and JC are the exact same instruction. They both map to the same
exact opcodes (there are two opcodes for these two instructions; so you
actually have a two-to-two mapping here).
Various ways to translate an asm instruction into machine codes do not
matter since they comply with requirements of Intel specification.
But the Intel specification doesn't support the notion of a "one-to-one
mapping". Hence my point.
Flags
affected, registers' changes, and possible exceptions etc are significant.
???
Today, modern programmer would not ever consider using an assembler as
the only game in town. Asm knowledge is necessary for debugging and reverse
engineering (if your local statute permits that). But as the primary
programming tool it is expedient for special tasks only.
But if they're going to use assembly language, they're probably going
to use a decent assembler, no?
Cheers,
Randy Hyde
.
- Follow-Ups:
- Re: HLA Paren Rules
- From: Herbert Kleebauer
- Re: HLA Paren Rules
- From: Eman
- Re: HLA Paren Rules
- From: Betov
- Re: HLA Paren Rules
- References:
- HLA Paren Rules
- From: Julienne Walker
- Re: HLA Paren Rules
- From: Betov
- Re: HLA Paren Rules
- From: Julienne Walker
- Re: HLA Paren Rules
- From: Betov
- Re: HLA Paren Rules
- From: Julienne Walker
- Re: HLA Paren Rules
- From: Betov
- Re: HLA Paren Rules
- From: Julienne Walker
- Re: HLA Paren Rules
- From: Betov
- Re: HLA Paren Rules
- From: randyhyde@xxxxxxxxxxxxx
- Re: HLA Paren Rules
- From: Eman
- HLA Paren Rules
- Prev by Date: Re: Windows XP
- Next by Date: Re: HLA Paren Rules
- Previous by thread: Re: HLA Paren Rules
- Next by thread: Re: HLA Paren Rules
- Index(es):
Relevant Pages
|
Loading