]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/crapto1.h
CHG: syntax suger
[proxmark3-svn] / armsrc / crapto1.h
index 7ea6fa28f5b7af57ec7caa0c31fd912833a246f4..54d66c28c42b764b428287e10f759b862b8d23a8 100644 (file)
@@ -70,9 +70,9 @@ static inline int parity(uint32_t x)
        return BIT(0x6996, x & 0xf);
 #else
        __asm__(        "movl %1, %%eax\n"
-               "mov %%ax, %%cx\n"
-               "shrl $0x10, %%eax\n"
-               "xor %%ax, %%cx\n"
+                               "mov %%ax, %%cx\n"
+                               "shrl $0x10, %%eax\n"
+                               "xor %%ax, %%cx\n"
                 "xor %%ch, %%cl\n"
                 "setpo %%al\n"
                 "movzx %%al, %0\n": "=r"(x) : "r"(x): "eax","ecx");
Impressum, Datenschutz