diff options
Diffstat (limited to 'examples/load.hdass')
| -rw-r--r-- | examples/load.hdass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/load.hdass b/examples/load.hdass index 6e68ffc..8d29358 100644 --- a/examples/load.hdass +++ b/examples/load.hdass @@ -8,9 +8,9 @@ proc main stack cell[8] rbx = 7 - rsi = cell // address of the cell - ^rsi = rbx // store - rdi = ^rsi // load it back + rsi = cell // address of the cell + ^rsi = rbx // store + rdi = ^rsi // load it back rax = SYS_EXIT syscall |
