aboutsummaryrefslogtreecommitdiff
path: root/examples/records.hdass
diff options
context:
space:
mode:
Diffstat (limited to 'examples/records.hdass')
-rw-r--r--examples/records.hdass6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/records.hdass b/examples/records.hdass
index f8553d6..8e87a4c 100644
--- a/examples/records.hdass
+++ b/examples/records.hdass
@@ -22,15 +22,17 @@ proc main
stack pair[Pair.size]
rsi = pair
+ rsi += Pair.a
rbx = 40
- ^rsi = rbx // pair.a (offset 0)
+ ^rsi = rbx // pair.a
rsi = pair
rsi += Pair.b
rcx = Status.Fail // 2
- ^rsi = rcx // pair.b (offset 8)
+ ^rsi = rcx // pair.b
rsi = pair
+ rsi += Pair.a
rdi = ^rsi // load a = 40
rsi = pair
rsi += Pair.b