when I compile this
Code: Select all
Structure st2
l1.l[10]
EndStructure
v3.st2
i = 5
v3\l1[i] = 34
LEA ebp,[v_v3]
PUSH ebp
MOV eax,dword [v_i]
SAL eax,2
POP ebp
ADD ebp,eax
MOV dword [ebp],34
I can't see any use for the PUSH/POP?!
And wouldn't
MOV dword [ebp + eax*4],34
instead of
SAL eax,2
ADD epb,eax
MOV dword [ebp],34
be faster?
Beside that, you have improved the code generation a lot since PB3 Fred!!

