sutori-0.2.4: Sutori language compiler
Sutori.MIPS.CodeGen
Synopsis
loadData :: (Reg, TACAddress, Offset) -> SutMonad [MIPS] Source #
genMIPS :: SutMonad [MIPS] Source #
genCode :: TAC -> SutMonad [MIPS] Source #
Given a TAC instruction, outputs an equivalent sequence of MIPS instructions
getRegs :: TAC -> [Reg] Source #
Given a TAC instruction, gives a list of registers to use for the equivalent MIPS instruction
TODO