I have looked at some code trying to learn about assembly.
Then I picked up aoa
32-bit Windows Edition Featuring HLA
Is there something wrong with me. Before today I was used to the mov instruction to work like this
mov ax, 1000
where ax would recieve the value
mov dest, source
how about this text??????
Is this some sort of uncompiled code that works differently
I mean I am not used to the semicolons either????
//this code accesses a member of an array
//assuming that the index number is being transferred to ebx
//so taht it can be played with
mov( index, ebx ); //source to dest... right???
//multiplying by 4 to get the fourth element of the array
shl( 2, ebx ); //the fourth index into ebx
//*books comment here for previous instruction*
//Sneaky way to compute 4*ebx
//finally moving the 4 index of the array into the eax to be used
mov( SixteenInts[ ebx ], eax );
am I wrong ??? got confused here I am sure it is easy for someone with knowledge... thx for the help in advance. Tsikman!