Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.23 KB

Notes.md

File metadata and controls

33 lines (19 loc) · 1.23 KB

La pregunta del millon es si tenemos que hacer both el IR generation i despues el generation of code useing IR.

Pero bueno

TODO

  • Might want to look into whether there are better ways to generate labels

Sources

  1. Local Labels

Evaluendo Instrucciones

  1. sd used to tstore the original values of register. Kinda like pop
  2. li loads an immediate value to a register. First argument is the destination register and the second is the immediate value.

EN glase

ACerca del proyecto

  1. DIjo que podemos encntrar global y Static (Creo) en el capitulo 12 de (run-time stuff)
  2. La cosa que te pregutnabas acerca de si usar variables de intermiediate functions inside more nested ones. No lo van a testear pero si dan puntos extras por eso.
  3. DIjo que no hay una "formal way" of doing this thing. Que contal funcione que ta bueno.
  4. We should put the return value of a function on TOS.
  5. Para calcular el codigo para sic 5 mira pg 95 de 212.

MAs teoria

  1. Menciono como en un method call de un object. "El object es el primer argumento". Yeah its in around slide 38 of the new 211Codegen que no ha released. No se si este en la version vieja though