On Sun, 7 Dec 1997 15:53:09 +0100 =?iso-8859-1?Q?J=F6rgen_Tapani?= writes: >How do I put asm code in a C function so it will compile >correctly with HITECH C compilator. >For ex. [Function to increment a 32-bit variable stored at arbitrary index] Though there are lots of times when it may be necessary to include assembly code in a C program, this doesn't seem like one of them. Isn't this what C comilers are for, to simplify handling of multiple-precision math? If the C compiler doesn't handle 32-bit numbers directly, you could split the number into 2 16-bit ones, and increment it through C: if (++var_l == 0) var_h++; My apologies if this is incorrect C, it's been a while.