From: Tobias Girstmair Date: Mon, 26 Apr 2021 07:26:28 +0000 (+0200) Subject: save 1 instruction cycle X-Git-Url: https://git.gir.st/Chiptunes-pms150c.git/commitdiff_plain/29ec690644c48734d6732357e54d3dfbb82b07dd save 1 instruction cycle --- 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.