Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ant6n
on Dec 28, 2014
|
parent
|
context
|
favorite
| on:
A tale of two’s complement
I wonder how many bits the int would have on an 8088.
heinrich5991
on Dec 29, 2014
|
next
[–]
If it's the 20-bit address stuff, `int` would have 32 bits on that platform. (The same as `intptr_t` in C.)
rynes
on Dec 30, 2014
|
prev
|
next
[–]
The Intel 8088 has an 8 bit bus, and 8 bit registers. The size of an integer is 16 bits.
Narishma
on Dec 29, 2014
|
prev
[–]
Is there a reason it wouldn't be 16 bits like in C?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: