From 2666c079eaffb6267498d092d8acdba3c167b1b8 Mon Sep 17 00:00:00 2001 From: Tobias Girstmair Date: Tue, 13 Nov 2018 01:24:55 +0100 Subject: [PATCH] new version --- foo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/foo.c b/foo.c index 8341518..5a8f4a0 100644 --- a/foo.c +++ b/foo.c @@ -83,7 +83,9 @@ int main(void) { ADD (acc, t) //voice 3: - x = s / 3; + MOV (x, s) + INC (x) + x = (x*0x55)>>8; t = n + (((i3&0x01)<<13 | i2<<5 | i1>>3) % 3); LDI (o, 10) RCALL g(); -- 2.39.3