View Single Post
Old Jul 13th, 2005, 7:01 AM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
LEA means "the address of MSG". That's what I want to pass to the function, not the first four bytes OF the message. It's the job of the function to perform the dereferencing. Don't mix up C and ASM in your head, they aren't the same.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote