I did some tests on my processor (Intel Celeron) and some research online and I discovered the following:
Code: Select all
Type Size
-----------|---------------
char | 1 byte
short | 2 bytes
int | 4 bytes
long | 4 bytes
1) Does this look correct?
2) Did you name your integer types?
3) Isn't it cool that sizeof is built in operator?
Also:
After I get some basic i/o working (by i/o I mean printf), I think I need to get/create/define an Interrupt Descriptor Table. How did you get yours working and if you could, would you mind recommending some article or tutorial I could look at to get me started? I believe I know roughly what it is, but a resource explaining how to implement it would be really helpful.
Thanks guys!