| ??? 11/28/09 00:32 Read: times |
#171264 - oh..my mistake..... Responding to: ???'s previous message |
thats 16....anyway thanks alot, you save my world...
but why does it work on byte2 which is just unsigned char? i mean this line (((unsigned long)byte2) << 8), still have some data that is should, |
| Topic | Author | Date |
| Unsigned Long Roll-over at 65535? | 01/01/70 00:00 | |
| Typecast before the shift. | 01/01/70 00:00 | |
| oh..my mistake..... | 01/01/70 00:00 | |
| Integer promotion | 01/01/70 00:00 | |
| Note on Integer Promotion and Keil | 01/01/70 00:00 | |
| Not much of a choice, really | 01/01/70 00:00 | |
| Probably | 01/01/70 00:00 | |
| Design decisions | 01/01/70 00:00 | |
Oh yes they can! | 01/01/70 00:00 |



