Three-address code is a list of instructions of the forms , , , loads and stores, labels , , , calls and returns. Each names at most three places, its addresses: two operands and a result. An operand is a constant or a temporary, a named place for a value with no limit on how many there are; temporaries are also called virtual registers. Stored as a record of an operator and three addresses, an instruction is a quadruple.
expr.moor as a tree and as quadruples, one per interior node plus the final copy. The temporary beside each node holds its value. The leaves need no instruction: they are variables, already in temporaries, or constants.