News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Refresh memory ...

Started by James Ladd, November 24, 2010, 02:49:21 AM

Previous topic - Next topic

James Ladd

Hi, can someone refresh my memory as to the meaning of

mov eax,[eax]

Does it mean move into eax the value pointed to by eax ?

ie:  [eax] means take the eax register value and treat it like a pointer to memory.
      Like p  vs *p    in C

dedndave


James Ladd

thanks dedndave - your avatar always makes me smile.

MichaelW

Yes, [eax] is an indirect memory operand, see the section about half way down the page here:

http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/ProgrammersGuide/Chap_03.htm
eschew obfuscation