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