Compiler Construction



Download 1.49 Mb.
Page10/14
Date15.03.2021
Size1.49 Mb.
#56076
1   ...   6   7   8   9   10   11   12   13   14
Compiler Construction lec 01

5. The object code file generated by the assembler combined with functions from the standard library archive files by the linker to produce an executable file. By default, this executable file is named a.out. In this case, we have used the -o option to specify the name of the executable file as prog1.

Step 1: Preprocessor

A preprocessor, generally considered as a part of compiler, is a tool that produces input for compilers. It deals with macro-processing, augmentation, file inclusion, language extension, etc

Step 02: What are Compilers ?

  • Compiler is a software which converts a program written in high level language (Source Language) to low level language (Object/Target/Machine Language).
  • An important role of the compiler is to report any errors in the source program that it detects during the translation process.
  • Compilers may be distinguished in two ways:
  • By the kind of machine code they generate

    By the format of the target code they generate


Java , android , C#

Assembly, machine codes



Download 1.49 Mb.

Share with your friends:
1   ...   6   7   8   9   10   11   12   13   14




The database is protected by copyright ©ininet.org 2024
send message

    Main page