What does var exactly do.
I normally use buffer[1] like the second bytes of buffer
but i made a prog that did
fstp var (var is a array)
and it works, why ?
(i hope i'm clear)
A long time back, Microsoft assembler's used a slightly different convention than Intel specifications had. Instead of using , they would use memory. They mean the exact same thing, though some people prefer memory instead of because it's more C like. (It might even compensate for the data types now, converting memory to , but I've not seen that.)
so does
invoke function, arrays
does the same that
add eax, offset array
invoke function, array
?
(s)
Not the way you put it, but I think that was a typo. :)
invoke function,arrays and
invoke function,
should work the same, yes. The only difference is that, if arrays is defined as a WORD, DWORD, or QWORD, it may be converted into , , or respectively. If that's the case, you have to keep that in mind.