void SetValue( int* array, int index, int value )
MOV EBX, index
MOV EAX, array [EBX*4]
MOV [EAX], value
I realize that this is a usless function really, but I'm just starting to learn assembly. I'm using VC++ 6 (hence EBX and EAX instead of BX and AX). I multiply by 4 because intigers in VC++ are 4 bytes.