That's what the C compiler does for you. It generates the necessary code to "fake" a 16-bit integer out of two 8-bit locations.
Otherwise, I suggest you google "binary long division" if you want...
Type: Posts; User: Salem
That's what the C compiler does for you. It generates the necessary code to "fake" a 16-bit integer out of two 8-bit locations.
Otherwise, I suggest you google "binary long division" if you want...
Since you're programming in C, why don't you just create a 16-bit variable (say an unsigned short int) with R1x256 + R0 and then divide that by 58?