Turbo C: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
(New page, mainly to satisfy Special:Wantedpages.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{stub}} |
{{stub}}{{compiler}} |
||
Turbo C (aka TC) is [[Borland|Borland's]] 16-bit C compiler. In OS development, it is only useful for developing real mode operating systems. TC compiles to a .exe executable, but can be converted to a flat binary by exe2bin if you compile with the -mt (model tiny) argument to the compiler. |
Turbo C (aka TC) is [[Borland|Borland's]] 16-bit C compiler. In OS development, it is only useful for developing real mode operating systems. TC compiles to a .exe executable, but can be converted to a flat binary by exe2bin if you compile with the -mt (model tiny) argument to the compiler. |
||
Revision as of 03:35, 12 December 2008
This page is a stub.
You can help the wiki by accurately adding more contents to it.
Turbo C (aka TC) is Borland's 16-bit C compiler. In OS development, it is only useful for developing real mode operating systems. TC compiles to a .exe executable, but can be converted to a flat binary by exe2bin if you compile with the -mt (model tiny) argument to the compiler.
Inline Assembly
Inline assembly works fine in Turbo C, but there are a few rules:
- You must compile from the command line!
- You must own TASM or pass -Exxx to the compiler!
-Exxx specifies an alternate assembler to use, eg. -Enasm.exe if you wanted to assemble with NASM.