From: Tobias Girstmair Date: Sat, 17 Nov 2018 19:42:45 +0000 (+0100) Subject: new version X-Git-Tag: attiny9~40 X-Git-Url: https://git.gir.st/Chiptunes.git/commitdiff_plain/76d366f481462f46218455e5ce1ed6944c68d15a?ds=sidebyside new version --- diff --git a/foo.c b/foo.c index 9a7bbe9..dcf47f4 100644 --- a/foo.c +++ b/foo.c @@ -86,9 +86,9 @@ void g(void) { ADD (a1, i0) ADC (a2, i1, carry) } - t >>= 1; t|=a1<<7; //3. ROR t - a1>>= 1;a1|=a2<<7; //2. ROR a1 - a2>>= 1; //1. LSR a2 + LSR (a2) + ROR (a1) + ROR (t) } t = a1; #undef a0