I have a beginner's question on 16 bit microcontrollers like the dsPIC30F4011.
If a program in C code using arithmetic with signed long integers produces a result larger than 16 bit, what will happen? Will the 16 bit registers in the micro just overflow or will the number be divided into two 16 bit registers?
I have tried to code some arithmetic like the above but neither the compiler nor the micro gave any errors when building or programming the micro.
Thanks for your help
If a program in C code using arithmetic with signed long integers produces a result larger than 16 bit, what will happen? Will the 16 bit registers in the micro just overflow or will the number be divided into two 16 bit registers?
I have tried to code some arithmetic like the above but neither the compiler nor the micro gave any errors when building or programming the micro.
Thanks for your help