Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,255 of 4,675    |
|    R.Wieser to All    |
|    Re: Memory adress in register, how to ac    |
|    30 Dec 20 08:19:32    |
      From: address@nospicedham.not.available              Nathan,              > I would like to acces that array by using something like this:       > MOV [ecx + 4*8], eax              And you are. :-)              > but in this case, the program takes the memory adress of       > the ecx, and adds to that              ... and than stores EAX at that final address (and as EAX contains four       bytes, the three bytes after it too)              Ask your self : What do you think it does instead ?              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca