CPSC 323: Target Code Generation

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/3

encourage image

There are no tags or description

Looks like no tags are added yet.

4 Terms

1
New cards
  • unusableEach machine has a different architecture that needs its own target code

  • Abstract indeterminate operations; code is optimized

  • Register and memory allocation

  • Lexical analysis → Sy → semantic analysis → ICG → OCG → Code optimization → abstract indetermiate operations → tcg

  • Relocatable object code

  • rd: r1 = a, r2=b

  • ad = a - memory, b - r2

  • Spilling and reloading

  • Live registers are unusable

  • Temporary variables aren’t written to memory


2
New cards

a

3
New cards

a

4
New cards

j