From: Tobias Girstmair Date: Sat, 17 Nov 2018 19:44:48 +0000 (+0100) Subject: new version X-Git-Tag: attiny9~39 X-Git-Url: https://git.gir.st/Chiptunes.git/commitdiff_plain/9e62fea4b39c7deebe9def83e22778cb806aa8de?ds=sidebyside new version --- diff --git a/foo.c b/foo.c index dcf47f4..c9856b9 100644 --- a/foo.c +++ b/foo.c @@ -93,7 +93,6 @@ void g(void) { t = a1; #undef a0 - t &= 0x1e; //hint -- TODO: breaks without!? RET //TODO: replace CALL/RET with IJMP? }; @@ -129,6 +128,7 @@ int main(void) { MOV (t, n) RCALL g(); SWAP (t) + ANDI (t, 1) MOV (acc, t) //voice 2: