program AddrTest {
section module {
}
section data {
int rax = 0
int rbx = 0
ptr _tmpptr0 = null
string fmt_int = "%lld "
string newline = "\n"
int x = 0
ptr p = null
}
section code {
start:
mov x, 42
lea _tmpptr0, x
mov p, _tmpptr0
load rbx, p, 0, 1
print fmt_int, rbx
print newline
store 100, p, 0, 1
print fmt_int, x
print newline
done
}
}