Three-address code

In computer science, three-address code (often abbreviated to TAC or 3AC) is an intermediate 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. For example, t1 := t2 + t3. The name derives from the use of three operands in these statements even though instructions with fewer operands may occur. A refinement of three-address code is A-normal form (ANF).

Comment
enIn computer science, three-address code (often abbreviated to TAC or 3AC) is an intermediate 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. For example, t1 := t2 + t3. The name derives from the use of three operands in these statements even though instructions with fewer operands may occur. A refinement of three-address code is A-normal form (ANF).
Has abstract
enIn computer science, three-address code (often abbreviated to TAC or 3AC) is an intermediate 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. For example, t1 := t2 + t3. The name derives from the use of three operands in these statements even though instructions with fewer operands may occur. 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 translated into actual addresses during register allocation. It is also not uncommon that operand names are numbered sequentially since three-address code is typically generated by the compiler. A refinement of three-address code is A-normal form (ANF).
Hypernym
Code
Is primary topic of
Three-address code
Label
enThree-address code
Link from a Wikipage to another Wikipage
A-normal form
Assembly language
Category:Articles with example C code
Category:Compiler construction
Code-improving transformation
Common subexpression elimination
Computer science
Control-flow analysis
Intermediate language
Optimizing compiler
Processor registers
Quadratic equation
Reduced instruction set computer
Register allocation
Static single-assignment form
SameAs
3番地コード
3-어드레스 코드
55nv9
Code à trois adresses
Código de tres direcciones
Código de três endereços
m.02ff0x
Mã địa chỉ ba
Q951178
Three address code
Three address code
Three-address code
Tre-adresse-kode
Tříadresní kód
کدهای سه آدرسی
三位址碼
Subject
Category:Articles with example C code
Category:Compiler construction
WasDerivedFrom
Three-address code?oldid=1089835936&ns=0
WikiPageLength
3289
Wikipage page ID
478945
Wikipage revision ID
1089835936
WikiPageUsesTemplate
Template:Col-2
Template:Col-begin
Template:Col-end
Template:Portal