Source language type
The assembler records the source language type.
For cascade compilers, the assembler records the source-language type. In the XCOFF file, the high-order byte of the n_type field of a symbol table entry with the C_FILE storage class holds the source language type information. The following language types are defined:
High-Order Byte | Language |
---|---|
0x00 | C |
0x01 | FORTRAN |
0x02 | Pascal |
0x03 | Ada |
0x04 | PL/I |
0x05 | Basic |
0x06 | Lisp |
0x07 | Cobol |
0x08 | Modula2 |
0x09 | C++ |
0x0A | RPG |
0x0B | PL8, PLIX |
0x0C | Assembler |
0x0D-BxFF | Reserved |
The source language type is indicated by the .source pseudo-op. By default, the source-language type is "Assembler." For more information, see the .source pseudo-op.