Hi Charles,
EDI does not work correctly.
indexbase 0
sys a[9] = {10,20,30,40,50,60,70,80,90,100}
sys reg
lea esi,a
mov eax,[esi]
print eax
mov eax,[esi+4]
print eax
mov eax,[esi+8]
print eax
lea edi,a
mov eax,[edi]
print eax
mov eax,[edi+4]
print eax
mov eax,[edi+8]
print eax