Computer Architecture & Computer Fundamentals.

Components Of Toolchain
  • Editor:
  • Editor is a tool in which we can write a program.
  • Preprocessor:
  • Preprocessor process the line begins with the # . The main task of preprocessor is header file inclusion , macro expansion,removal of comments & extra spaces. It generates the intermediate code file i.e .i file.
  • Text: It contains the compiled instructions of our program.
  • Data: Memory for global variable allocated in data section.
  • Symbol Table: It contains the information of symbol used in program.
  • Primary Header: It is contains address of entry point function, type of executable, timestamp, magic number.
  • Text: It contains the compiled instructions of our program.
  • Data: Memory for global variable allocated in data section.
  • Symbol Table: It contains the information of symbol used in program.
  • Text: It contains the compiled instructions of our program.
  • Data: Memory for global variable allocated in data section.
  • Stack: It contains the information of the function.
  • CS (Code Segment): It contains the starting address of text section.
  • DS (Data Section): It contains the starting address of data section.
  • SS (Stack Segment):It contains the starting address of stack section.
  • ES (Extra Segment):It is extra segment .
  • FS:
  • GS:
  • ALU: It is arithmetic logic unit.
  • CU: it is control unit . It contains the control signals.
  • Flags: It returns the status of program.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store