-
Overview
From dragon book, three-address code consists of a sequence of asembly-like instructions with three operands per instruction.
Each operand can act like a register.
-
Three-address code
Three-address code (TAC, 3AC) is an intermedia code used by optimizing compilers to aid in the implementation of code-improving transformations.
Each TAC instruction has at most three operands and is typically a combination of assignment and a binary operator.
Since three-address code is used as an intermediate language within compilers, the operands will most likely not be concrete memory addresses or processor registers, but rather symbolic addresses that will be tranlated into actual addresses during resigter allocation.
A refinement of three-addre
理解three-address code||Register allocation
最新推荐文章于 2023-12-28 09:00:00 发布