Hello,

my task is to create following function:

Code:
unsigned char nthbyte_x(unsigned char n, unsigned long x) {
   __asm {
      ...
   }
}
Its result should be the value of nth byte in number x. Could you give me some basic explanation of how should I do that, or some commands, I should use? Thank you.