Is Effective Address == address_of ?

Oct 21, 2003 3 Replies

Is "effective address" the address_of or immediate_address?


Robin


You didn't seriously believe anybody would be able to answer that one without more information about the context you ran into this question in, did you?

Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.

Effective address is the address computed after performing complete addressing mode arithmatic.

You will find many compilers using a load effective address instruction when you use address of (&) in C code.

Sometimes the compilers also use (misuse?) load effective address to load small integer constants and perform simple interger aritmatic. As it turns out to be faster than using the regular integer mechanisms.

This is particularly true in the 68000 family.

The following articles might help:

formatting link
(Search for LEA.L)

Sandeep

--

formatting link
EventStudio 2.0 - Generate Message Sequence Charts in PDF

Thanks Sandeep,

I had guessed as much from what my compiler is doing but could not find a straight definition on Google; only passing comments within complicated descriptions of something else.

Robin

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required