Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder how many bits the int would have on an 8088.


If it's the 20-bit address stuff, `int` would have 32 bits on that platform. (The same as `intptr_t` in C.)


The Intel 8088 has an 8 bit bus, and 8 bit registers. The size of an integer is 16 bits.


Is there a reason it wouldn't be 16 bits like in C?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: