For the sake of portability across a variety of processor architectures, the C programming language was designed to be architecture-agnostic. The size of an int wasn't specified, other than to say that it should be the size of a machine word, which is the size of registers. C compilers for 16-bit Intel processors such as the 8088 and 8086 and later processors on 16-bit operating systems used 16 bits to store an int value, and 32 bits to store a long. They also stored a short or short int in 16 bits.our textbook says that the output of a C program deepends on whether the machine is 32 bit or 16 bit. So i was wondering what that means and if today 16 bit machines are still used???
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
|
|
What information is most useful in an SMT machine alarm log? | Automation, Robotics & Control | 5 | |
|
|
The World's Most Important Machine | Off-Topic | 0 | |
|
|
Logic D | Homework Help | 53 | |
|
|
Line-Trace plasma cutting Machine | Sensor Design & Implementation | 5 | |
|
|
Powering DD motor from washing machine ..#2 | Power Electronics | 10 |