Professional Documents
Culture Documents
Three Address Code-1
Three Address Code-1
Three Address Code-1
Smple opration
addi tion, subttacton, mul-tipicaton, dineien.
The tesutt of thevariaopetaion
ble. hch
s
fs
he stored
used
Jempotany
ojporand in he net nstrucion
OAssigpment
Guadupls Tripes
Inditect
Tripls
shu ctue with Adota shuctwe
four fields a
cingle +hat nepre
ins trichon an indinect
operalign aferene to
variabe
mmory loeation
Guadruple:
Let (onider an erpresion
a- b k t b
t4
42. = b t1
{5 t2+ 4
at5
Arg 1 Res
Ag2
(o) uminus
2
(1)
(2) Uninus +3
*
(3)| + 43
42 5
i4)
(5) t5.
Truples :
Let tonsi de theame npresien
2 umi nu
4 + 1
Indireet Truple :
Anoth e, implementatton of 33 Addre ode
that hasben conti dered that of
lising pointer
to tiples , ather
than ising 4he triples themielves
This implemen tation caled Indirect
Triple
Let consjdere
a
b*tb
The cwbsequent indine t triple
toprtesentation
Arg Arcg 2
(4) minw
(16) (4)
(r6) mjnus
(1) (6)
(13) + (45) ()
a (1e)
of ponters to +able
Statern ent
(0)
G) (15)
() (16)
(3) ()
(4) (8)
(5)