| ??? 05/01/08 02:00 Read: times |
#154236 - Not quite Responding to: ???'s previous message |
An 8bit 8052 has an 16 bit integer with Keil.
The PC is even more interesting. You can write programs with 16 or 32 bit compilers giving you 16 or 32 bit ints. He want to know something he knew when he compiled the program. Unless he whats the answer for a PC meaning 2 things. 1. he is lost. 2. Yes but not in C you would need ASM. But I am not sure what you would do with the information. |
| Topic | Author | Date |
| find the size of processor | 01/01/70 00:00 | |
| C is not that portable! | 01/01/70 00:00 | |
| thanks but could u clarify | 01/01/70 00:00 | |
| I think you missed the point | 01/01/70 00:00 | |
| Various compilers different results | 01/01/70 00:00 | |
| Word size - not code size? | 01/01/70 00:00 | |
| u r correct | 01/01/70 00:00 | |
| Determining object sizes - at run time | 01/01/70 00:00 | |
| Not quite | 01/01/70 00:00 | |
| Correct ! | 01/01/70 00:00 | |
| not sure what you would do with the information | 01/01/70 00:00 | |
| This was an interview question | 01/01/70 00:00 | |
| More trick interview questions | 01/01/70 00:00 | |
| I found the solution, Andy , Neil please comment | 01/01/70 00:00 | |
| Great! Now do it in C | 01/01/70 00:00 | |
| Same logic for C and asm | 01/01/70 00:00 | |
| No, it isn't. | 01/01/70 00:00 | |
| What would be the point? | 01/01/70 00:00 | |
| It is worse than that | 01/01/70 00:00 | |
| the whole question is silly | 01/01/70 00:00 | |
| It can even get this silly... | 01/01/70 00:00 | |
It is an interview question | 01/01/70 00:00 |



