C51 multiplication

Dear Erik!

What do I have to do recieve a 32-bit result if I multiply 2 16-bit variables?
For example:
unsigned int a;
unsigned int b;
unsigned long c;

c = a * b; Why I have 16-bit result?

Parents Reply Children
No data
More questions in this forum