From 29ec690644c48734d6732357e54d3dfbb82b07dd Mon Sep 17 00:00:00 2001 From: Tobias Girstmair Date: Mon, 26 Apr 2021 09:26:28 +0200 Subject: [PATCH] save 1 instruction cycle --- bsv.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsv.S b/bsv.S index 72f58f3..b3a6ee5 100644 --- a/bsv.S +++ b/bsv.S @@ -420,9 +420,8 @@ interrupt: ; end divide by ten AND a, tmp_1 ; a restored from tmp_1 AND a, #3 - ADD pwm, a + ADD a, pwm - MOV a, pwm SWAP a MOV pwm, a ; next sample is now ready. -- 2.39.3