diff options
author | Mark Kriegsman <kriegsman@users.noreply.github.com> | 2018-05-19 03:07:51 +0300 |
---|---|---|
committer | Mark Kriegsman <kriegsman@users.noreply.github.com> | 2018-05-19 03:07:51 +0300 |
commit | fc3338bdab7529922d066de7fb4d8528a5374d8f (patch) | |
tree | 191cd359e30cbb65459d2b428db158110aad5343 | |
parent | dbd2d8b8ca037f9d2d5e743785abac28b125c947 (diff) |
Fix asm param constraints on ease8InOutQuad and ease8InOutApprox for AVR versions.
-rw-r--r-- | lib8tion.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -604,7 +604,7 @@ LIB8STATIC uint8_t ease8InOutQuad(uint8_t val) { "sbrc %[val], 7 \n" "com %[j] \n" "clr __zero_reg__ \n" - : [j] "+a" (j) + : [j] "+&a" (j) : [val] "a" (val) : "r0", "r1" ); @@ -706,7 +706,7 @@ LIB8STATIC uint8_t ease8InOutApprox( fract8 i) "Ldone_%=: \n\t" - : [i] "+a" (i) + : [i] "+&a" (i) : : "r0", "r1" ); |