Is Effective Address == address_of ?

Is "effective address" the address_of or immediate_address?

Robin

Reply to
robin.pain
Loading thread data ...

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.
Reply to
Hans-Bernhard Broeker

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

Reply to
Sandeep

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

Reply to
robin.pain

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.