Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
using VC++ 2005 express
int main()
{
unsigned char array[] = {1, 2, 3, 4, 5, 6, 7};
// Assembly
__asm
{
MOV AL,array[0] ; ok
MOV AL,array+2 ; ok
lea ebx, array
MOV AL, [ebx] ; ok
}
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343