I am trying to compare the assembly for two pieces of code and they look like shown below. My question is if the additions in [esp+4] [esp+8] [esp+0Ch]
are performed at run-time, or somehow resolved before that.
Version 1
00FE104D mov eax,dword ptr [esp+4]
00FE1051 imul eax,dword ptr [esp+8]
00FE1056 mov esi,dword ptr [esp+0Ch]
Version 2
00FE104D mov eax,dword ptr [x]
00FE1051 imul eax,dword ptr [y]
00FE1056 mov esi,dword ptr [z]