answersLogoWhite

0

What is 16 bit compiler?

Updated: 10/19/2022
User Avatar

Wiki User

15y ago

Best Answer

Quite simply, a 16-bit compiler is a compiler for a 16-bit machine.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is 16 bit compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is tubo c?

Turbo C is a 16 bit compiler of C


How do you compile and execute a 16 bit compiler program from a command prompt?

Compiler-dependent. If you have Turbo C, it will be command TCC


What is the difference between 16 bit compilers and 32 bit compilers in C?

16 bit compilers compile the program into 16-bit machine code that will run on a computer with a 16-bit processor. 16-bit machine code will run on a 32-bit processor, but 32-bit machine code will not run on a 16-bit processor. 32-bit machine code is usually faster than 16-bit machine code.-DJ CraigNoteWith 16 bit compiler the type-sizes (in bits) are the following: short, int: 16long: 32long long: (no such type)pointer: 16/32 (but even 32 means only 1MB address-space on 8086)With 32 bit compiler the object-sizes (in bits) are the following:short: 16int, long: 32long long: 64pointer: 32With 64 bit compiler the object-sizes (in bits) are the following:short: 16int: 32long: 32 or 64 (!)long long: 64pointer: 64[While the above values are generally correct, they may vary for specific Operating Systems. Please check your compiler's documentation for the default sizes of standard types]Note: C language itself doesn't say anything about "16 bit compilers" and "32 bit compilers"


Why pointer variable size of is 4bytes in 32 bit compiler?

Because 32 bit is exactly four bytes.


Can you assign a char value to a variable of datatype of byte in java?

Not without casting. A char is a 16 bit type, whereas a byte is an 8 bit type. Therefore the compiler cannot guarantee that the 16 bit value will fit into the 8 bit value without overflowing. If you attempt to stick a char into a byte, you will get a compiler error. To override this, you can cast the char value to a byte during assignment. However, you might get some unexpected results. A few examples below: char a = 'A'; byte b = a; //compiler error char a = 'A'; byte b = (byte)a; //valid, no error. b=65 char a = 172; byte b = (byte)a; //valid, no error, but b=-84 because of overflow.

Related questions

How to check which compiler i am using 16 bit or 32 bit ...?

If you are using TC.EXE (or TCC.EXE) then it is 16-bit.


What is tubo c?

Turbo C is a 16 bit compiler of C


How do you compile and execute a 16 bit compiler program from a command prompt?

Compiler-dependent. If you have Turbo C, it will be command TCC


What is the difference between 16 bit compilers and 32 bit compilers in C?

16 bit compilers compile the program into 16-bit machine code that will run on a computer with a 16-bit processor. 16-bit machine code will run on a 32-bit processor, but 32-bit machine code will not run on a 16-bit processor. 32-bit machine code is usually faster than 16-bit machine code.-DJ CraigNoteWith 16 bit compiler the type-sizes (in bits) are the following: short, int: 16long: 32long long: (no such type)pointer: 16/32 (but even 32 means only 1MB address-space on 8086)With 32 bit compiler the object-sizes (in bits) are the following:short: 16int, long: 32long long: 64pointer: 32With 64 bit compiler the object-sizes (in bits) are the following:short: 16int: 32long: 32 or 64 (!)long long: 64pointer: 64[While the above values are generally correct, they may vary for specific Operating Systems. Please check your compiler's documentation for the default sizes of standard types]Note: C language itself doesn't say anything about "16 bit compilers" and "32 bit compilers"


How do you open 16-bit .dll files?

You can't. DLL file ( Dynamic Link Library ) can only be opened by an executable ( EXE ) or compiler.


Is the Java compiler 16bit or 32bit?

The Java compiler itself (javac) is a 32-bit application.


Why C compiler gives values from -32768 upto 32767?

Sorry, I really don't understand what values does the compiler give you...-32768..32767 is the value range of a 16-bit-long signed binary number (short in C)


Why pointer variable size of is 4bytes in 32 bit compiler?

Because 32 bit is exactly four bytes.


Can you assign a char value to a variable of datatype of byte in java?

Not without casting. A char is a 16 bit type, whereas a byte is an 8 bit type. Therefore the compiler cannot guarantee that the 16 bit value will fit into the 8 bit value without overflowing. If you attempt to stick a char into a byte, you will get a compiler error. To override this, you can cast the char value to a byte during assignment. However, you might get some unexpected results. A few examples below: char a = 'A'; byte b = a; //compiler error char a = 'A'; byte b = (byte)a; //valid, no error. b=65 char a = 172; byte b = (byte)a; //valid, no error, but b=-84 because of overflow.


Can you program an Intel 8086 in C plus plus?

Yes, if you have a suitable compiler and environment. Microsoft's Visual C/C++ 1.52C 16-bit development system did exactly that. There are other compilers as well.


Will msp430 microcontroller process more than 16 bit number?

Any microcontroller can handle numbers wider than the bus width of the micro (16 bits in the case of the msp430). It simply requires use of features such as the Carry bit in the Status register. A C-language compiler for the MSP430 will produce code to allow for processing of numbers larger than 16 bits. Use data type "Long" for a 32-bit integer.


What are the strengths and waekness of using the turbo in making highly defined and efficient programming codes?

Turbo C is a 16 bit compiler, there are no 32 and 64 bit compilers. In its day turbo C was good, I learned to program with it. Today it has no strengths other than being free but there are also free 32 and 64 bit compilers.