freelanceprogrammers.org Forum Index » C
Difference Between 16bit and 32bit OS
Joined: 04 Jan 2005
Posts: 2
Difference Between 16bit and 32bit OS
hi all,
can anybody tell me the difference between 16bit Operating System and 32Bit operating system.
what i know is that in 16bit os the sizeof int is 2 bytes and in 32bit os sizeof int is 4 bytes.
In one of the interviews i came across one question that write an algoritm to know wheather your Os is of 16bit or 32bit
so what will be correct answer. just checking sizeof(int) ????
is there any other difference between 16bit os and 32bit os....
one more question is . what is the difference between DLLs developed in 16BIT os and 32bit OS.....
Thanks in advance
Regards,===========================Sudhir KesharwaniMob : +91 9822511209sudhir.kesharwani@...===========================
-- _______________________________________________
Find what you are looking for with the Lycos Yellow Pages
Joined: 31 Dec 2004
Posts: 5
Difference Between 16bit and 32bit OS
to add to the confusion i have heard that the size of int is shown differently in different compilers on the same op system.that means it somehow depends on compilers as well.Sudhir Kesharwani <sudhir.kesharwani@...> wrote:
hi all,
can anybody tell me the difference between 16bit Operating System and 32Bit operating system.
what i know is that in 16bit os the sizeof int is 2 bytes and in 32bit os sizeof int is 4 bytes.
In one of the interviews i came across one question that write an algoritm to know wheather your Os is of 16bit or 32bit
so what will be correct answer. just checking sizeof(int) ????
is there any other difference between 16bit os and 32bit os....
one more question is . what is the difference between DLLs developed in 16BIT os and 32bit OS.....
Thanks in advance
Regards,===========================Sudhir KesharwaniMob : +91 9822511209sudhir.kesharwani@...===========================-- _______________________________________________Find what you are looking for with the Lycos Yellow Pages To unsubscribe : programmers-town-unsubscribe@yahoogroups.com__________________________________________________Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Joined: 02 Jan 2005
Posts: 9
Difference Between 16bit and 32bit OS
--- Sudhir Kesharwani <sudhir.kesharwani@...>
wrote:
---------------------------------
hi all,
can anybody tell me the difference between 16bit
Operating System and 32Bit operating system.
what i know is that in 16bit os the sizeof int is 2
bytes and in 32bit os sizeof int is 4 bytes.
In one of the interviews i came across one question
that write an algoritm to know wheather your Os is of
16bit or 32bit
so what will be correct answer. just checking
sizeof(int) ????
is there any other difference between 16bit os and
32bit os....
one more question is . what is the difference between
DLLs developed in 16BIT os and 32bit OS.....
Thanks in advance
Regards,
===========================
Sudhir Kesharwani
Mob : +91 9822511209
sudhir.kesharwani@...
===========================
--
Hi Sudhir,
The main difference between 16 bit and 32 bit OS is
that a 16 bit OS supports processors having 16 bit
data bus and 32 bit OS supports processors having 32
bit data bus.
The data bus size specifies the word size of the
processor which describes how much bytes the processor
can read in a single Memory read cycle ( though there
are constraints on byte alignment).
For example, a through a 32 bit processor, you can
read 4 bytes of data in a single memory read
instruction.
Regards
Manik Singhal
_______________________________________________
Find what you are looking for with the Lycos Yellow
Pages
To unsubscribe :
programmers-town-unsubscribe@yahoogroups.com
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
To unsubscribe from this group, send an email to:
Programmers-Town-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
Joined: 25 Jul 2003
Posts: 48
Difference Between 16bit and 32bit OS
Reply appended...
> From: deo sharma [mailto:deo31@...]
> Sent: Wednesday, January 05, 2005 4:54 AM
> To: Programmers-Town@yahoogroups.com; programmers-town@yahoogroups.com
> Subject: Re: (PT) Difference Between 16bit and 32bit OS
>
> to add to the confusion i have heard that the size of int is shown
> differently in different compilers on the same op system.that means it
> somehow depends on compilers as well.
Pretty sure about it. Run TC on Win32 to print the size of `int`. I bet
that you get 16 instead of 32, since it is a 16-bit application despite
running on 32-bit OS.
OTOH, 8-bit embedded C compilers might use 16-bit integer. So I doubt that
checking the size of `int` might give any useful conclusion.
Shyan
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







