/*personal notes of renzo diomedi*/

ADDRESSING
















below is correct








Array
The decimal value of 101 is 0x00000065 in hex
dd = double word = 4 byte









to access to lst[2]
add 8 bytes to lst[0]
below we move the value of the 3rd element of lst in eax
















MACROS



























LOGICAL SHIFT











Example:
shr rcx, 1 ; shift 1 bit to right, so divide by 2 the value contained in rcx
shl rax, 2 ; shift 2 bit to left, so multiply by 4 the value of rax







Home Page