GetReg and GenCode: Example 1/10
30/43
reserved
free
reserved
0,1
2-11
12-15
contents
reg.
in memory
nowhere
a-d
u-z
address
var.
RAT:
AT:
u,a,b:L
v,c,a:L
w:L; u,v:D
x,b:L; d:D
y,c:L
z:L; x,y:D
d:L; w,z:D
status
u:3; a:2; b:4
v:3; c:5; a:N
w:7; u,v:N
x:6; d,b:N
y:6; c:N
z:7; x,y:N
d,w,z:N
u:=a-b
v:=c-a
w:=u+v
x:=d+b
y:=c+1
z:=x*y
d:=w-z
(1)
(2)
(3)
(4)
(5)
(6)
(7)
next use
instruction
line
BBT: