GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Code Generation

Alexandros Parpas Englisch 5 Karten

A typical assembly language program.

Karten in diesem Stapel (5)

  1. 1What does a simple stack machine consist of?Main Memory
    Program Counter
    Current Instruction Register
    Stack pointer
    Temporary Register
  2. 2A typical assembly language program.A typical assembly language program.
  3. 3What are the advantages of stack machines?They are simple compilers -> code generation for stack machines is much simpler than for register machines. (no register allocation is needed)
    Compact object code. This is because machine commands have no, or only one argument, unlike instructions for register machines.
    Simple CPUS -> cheap, easy to manufacture
  4. 4What is linking?When symbolic names of the code to be generated are mapped to real machine addresses.
  5. 5What happens when a program is invoked?The OS allocates space for the program
    The OS loads the program into the allocated Space
    Linking
    The OS jumps to the entry point of the program.

Informationen

Beschreibung
Karteikarten am Code Generation, erstellt von Alexandros Parpas am 06/01/2015.
Erstellt von
Alexandros Parpas
Aufrufe
12
Bewertung

Mehr zu Stages of Compilation

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck