The convert back routine should hold a routine that converts the given integer back to a row of bytes (e.g when the user wats to write a new value) Mov eax, //place the bytes into eax so it's handled as a normal 4 byte value Mov eax, //place the address that contains the bytes into eax Mov eax, //eax now contains the bytes 'input' pointed to
Note: Keep in mind that this routine can be called by multiple threads at the same time.
function declared as: stdcall int ConvertRoutine(unsigned char *input)
The convert routine should hold a routine that converts the data to an integer (in eax)