P
Patrick
I have the following problem,
(1) I have an 8-Bit microcomputer
(2) It has an integer word size of 2bytes (=16 bits)
(3) So int type is in the range -32768 to +32767
(4) Now I want to add numbers of type int, in the range 0 to 50000
How do I deal with the range limitation here?
I can ONLY use int type.
any help appreciated!
pat
(1) I have an 8-Bit microcomputer
(2) It has an integer word size of 2bytes (=16 bits)
(3) So int type is in the range -32768 to +32767
(4) Now I want to add numbers of type int, in the range 0 to 50000
How do I deal with the range limitation here?
I can ONLY use int type.
any help appreciated!
pat