Tříadresný kód
• Instrukce v tříadresném kódu (3AK) má tvar:
(o, Ea, Eb, Er)
• o – operátor     (+, –, *, …)
• a – operand 1 (Ea = adresa a)
• b – operand 2 (Eb = adresa b)
• r – výsledek (Er = adresa r)
Příklady:
(:=  ,  a,  , c ) …  c := a
(+   ,  a, b, c ) …  c := a + b
(not ,  a,  , b ) …  b := not(a)
(goto,   ,  , L1) …  goto L1
(goto,  a,  , L1) …  if a = true then goto L1
(lab , L1,  ,   ) …  label L1:
3/69