aboutsummaryrefslogtreecommitdiff
path: root/examples/logical.hdass
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-31 23:14:26 +0200
committerhachem <im@hachem.wtf>2026-08-31 23:14:26 +0200
commit9dc06d01c2224ee1dbeb11ebee7c8afecfac8b05 (patch)
tree110fe30b5b1f228568087a8fe7b0f7e0ca43fbb1 /examples/logical.hdass
parent5b06b0e4b8effaacd23308d6a6b26c525e7d3af4 (diff)
feat: add support for floats through xmm registers
Diffstat (limited to 'examples/logical.hdass')
-rw-r--r--examples/logical.hdass10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/logical.hdass b/examples/logical.hdass
index 5e82b42..5fb27fc 100644
--- a/examples/logical.hdass
+++ b/examples/logical.hdass
@@ -8,12 +8,12 @@ const SYS_EXIT = 60
proc main
{
- r1 = 4 // rax
- r2 = 3 // rbx
- r1 += r2 // 7
- r1 *= r2 // 21
+ r1 = 4 // rax
+ r2 = 3 // rbx
+ r1 += r2 // 7
+ r1 *= r2 // 21
- r6 = r1 // rdi = 21 (the exit status)
+ r6 = r1 // rdi = 21 (the exit status)
r1 = SYS_EXIT
syscall
}