mov al,BYTE PTR DS:[1+40211A]

does this statement mean increment the address by 1 byte and store value at this address in al?
or add 1 to the address of 40211A and store the value at this address in AL?
Posted on 2010-09-06 14:52:36 by maybnxtseasn
Yes. What's the difference? What it does NOT do is fetch the contents at [40211A] and add one to it. It fetches the contents at [40211B] and puts it in al.


Posted on 2010-09-06 17:49:32 by fbkotler
What Frank said - also, there aren't any "commands" in assembly language - to be precise, what you're looking at is an "instruction". And to be über-nitpicking, it's the mnemonic representation of an instruction :)
Posted on 2010-09-07 10:24:19 by f0dder