Built-in inline assembler (BASM) to include assembly
language routines in your C and C++ programs without
any need for a separate assembler.
built-in inline assembler (BASM) to include assembly
language routines in your C and C++ programs without
any need for a separate assembler. Such assembly
language routines are called inline assembly, because
they are compiled right along with your C routines,
rather than being assembled separately, then linked
together with modules produced by the C compiler.
Of course, Turbo C++ also supports traditional mixed-
language programming in which your C program calls
assembly language routines (or vice-versa) that are
separately assembled by TASM (Turbo Assembler), sold
separately. In order to interface C and assembly
language, you must know how to write 80×86 assembly
language routines and how to define segments, data
constants, and so on. You also need to be familiar with
calling conventions (parameter passing sequences) in C
and assembly language, including the pascal parameter
passing sequence in C.
Inline assembly =======================================================
language
Turbo C++ lets you write assembly language code right
inside your C and C++ programs. This is known as inline
assembly.
—————— If you don’t invoke TASM, Turbo C++ can assemble your
BASM inline assembly instructions using the built-in
—————— assembler (BASM). This assembler can do everything TASM
can do with the following restrictions:
o It cannot use assembler macros











very nice thanks to share
Great content..
Would you like to check my new blog which I created 3 months ago..
http://itsmeyourmentor.blogspot.com