I have a bit of an issue. I need to multiply two 16 bit numbers, (2 bytes each). But here is the difficulty, the uC registers are only 8 bits wide, (1 byte). And the uC I am using has no multiply command, so I have to use the shift left & right, add process to get the multiplied result. And, the results may spill into 3 bytes.
Clock cycles are limited, so I need the tightest code possible. This is for a PIC 10F or 12F series.
If you have ever tried, accomplished it, let me know how you did it.
Or if you just need a challenge today, have a crack at it.
If you try, post the code here. Attach as a file, or just copy/paste.
Cabe