We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2e2128 commit 5ae3023Copy full SHA for 5ae3023
examples/assembly/add.asm
@@ -0,0 +1,9 @@
1
+increment:
2
+ inc r1
3
+ add r1+1, r1, r1
4
+
5
+arithmetic:
6
+ ; multiply and add. r1=1; r1*=1; r1+=r1+1.
7
8
+ mul r1, r1, r0+1
9
+ add r1, r1, r1+1
0 commit comments