Link to home
Start Free TrialLog in
Avatar of centem
centemFlag for United States of America

asked on

What does this assembly code do

Trying to study some assembly code. What does the following line of assembly do?

sub_4012C6 proc near

var_401 = dword ptr -401h
var_1 = dword ptr -1
arg_0 = dword ptr 8

push ebp
mov ebp, esp

Open in new window


Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of centem

ASKER

What is the -401h, -1, and 8 in the assignment statements?
Probably the offsets from the stack point or 'ebp' where the data is located.