Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Peter Norton Programmer's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  As we mentioned earlier, the parameter-passing and memory-model methods
  used in your program determine how a subroutine interface is implemented,
  regardless of which language or compiler you use. Unfortunately, other
  differences between languages and compilers can make the design of a
  subroutine interface tricky and somewhat tedious.

  One problem is that different languages and compilers use different names
  for the subroutines, segments, segment groups, and variables that crop up
  in a program written in a high-level language. For example, the names used
  in Microsoft C (_TEXT, _DATA, DGROUP, and so on) are different not only in
  other vendors' C compilers, but also in earlier versions of Microsoft's C
  compiler.

  Other differences in naming appear when you compare different languages. C
  is case-sensitive, but interpreted BASIC and Pascal convert all lowercase
  letters to upper case. C compilers generally prefix all names declared in
  a C program with an underscore, so a name like printf in C must be
  referenced as _printf in assembly language. The surest way to know exactly
  what naming conventions your language translator uses is to look at your
  compiler's manuals.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson