How do i use the Lea command in NASM.
lea rsp,[rsp-8*5]
lea esp,[esp-8*5]
mov ebx,ptArray ; C/C++: ebx = &ptArraymov edx,8 ; C/C++: sizeof(POINT)lea eax,[ebx+edx*7]
; ebx is base addresslea eax,[ebx+y*ROW_LEN + x]