Re: Trivia Question
- From: "randyhyde@xxxxxxxxxxxxx" <randyhyde@xxxxxxxxxxxxx>
- Date: 4 Jan 2006 08:14:02 -0800
\\\o///annabee wrote:
> Who need that? Someone dealing with writing a compiler!
Or a debugger. Or maybe someone really wants to *change* one of the
register values on return (and, therefore, needs to poke a value into
the stack frame where the value for that register is sitting).
Make all the excuses for your ignorance that you like, but, yes,
assembly programmers *should* know about this stuff. After all, the
point of assembly language is *not* to write HLL-like code in assembly,
but to take advantage of what the machine has to offer. Now, knowing
the exact sequence of the registers on the stack isn't something that
every programmer ought to have memorized (it's easy enough to look up
when you need it, or you can do something like #include( "x86.hhf" );
and get symbolic equates for these offsets), but a decent assembly
programmer *should* understand why knowing this information may be
useful. Hopefully, in a few more years, you'll discover why it just
might be important to know the order of the registers pushed on the
stack by pusha/pushad.
Cheers,
Randy Hyde
.
- Follow-Ups:
- Re: Trivia Question
- From: \\\\\\o///annabee
- Re: Trivia Question
- From: Betov
- Re: Trivia Question
- References:
- Trivia Question
- From: Charles A. Crayne
- Re: Trivia Question
- From: hutch--
- Re: Trivia Question
- From: Charles A. Crayne
- Re: Trivia Question
- From: \\\\\\o///annabee
- Trivia Question
- Prev by Date: Re: [repost]Eorros for me, in the assembly history
- Next by Date: Re: newbie: good Assembler book
- Previous by thread: Re: Trivia Question
- Next by thread: Re: Trivia Question
- Index(es):
Relevant Pages
|