doc: paulchen beispiele {code{a,b},gesamt} entpackt (jedes mal entpacken nervt langsa...
[uebersetzerbau-ss10.git] / aus_sammelwut / paulchen / ublu / ss08 / abgabe / gesamt / testcases / blubb1
diff --git a/aus_sammelwut/paulchen/ublu/ss08/abgabe/gesamt/testcases/blubb1 b/aus_sammelwut/paulchen/ublu/ss08/abgabe/gesamt/testcases/blubb1
new file mode 100644 (file)
index 0000000..f5e4fb4
--- /dev/null
@@ -0,0 +1,17 @@
+       .text
+       .globl f
+       .type f, @function
+f:
+       movq %rdi, %rax
+       movq 16(%rax), %rax
+       movq 8(%rax), %rax
+       movq %rdi, %r11
+       movq 8(%r11), %r11
+       movq 16(%r11), %r11
+       imulq $-3, %r11
+       addq %r11, %rax
+       movq %rdi, %r10
+       movq 0(%r10), %r10
+       movq 0(%r10), %r10
+       addq %r10, %rax
+       ret