GetReg
and
GenCode
: Example 7/10
reserved
w
x
y
free
reserved
0,1
2
3
4
5-11
12-15
contents
reg.
in memory
nowhere
2
3
4
nowhere
a-d
u, v
w
x
y
z
address
var.
RAT:
AT:
GetReg
:
R3
Instruction:
(6) z:=x*y
Properties:
z: live; x, y: dead
GenCode
:
mul R3,R4
36/43