From 71a551d02880590b91a2b906b62bb4eb47c8adf3 Mon Sep 17 00:00:00 2001 From: 7u83 <7u83@mail.ru> Date: Wed, 3 Jul 2024 07:37:44 +0200 Subject: [PATCH] Fix dec for next arg --- long_add.c | 1 + 1 file changed, 1 insertion(+) diff --git a/long_add.c b/long_add.c index 739c157..b01ba13 100644 --- a/long_add.c +++ b/long_add.c @@ -11,6 +11,7 @@ uint8_t long_add(__idata uint8_t *v1, __idata uint8_t *v2,uint8_t len) __reentra add a,#0xfd mov r0,a mov a,@r0 ; *v2 + dec r0 mov r1,a mov a,@r0 ; len mov r7,a