Fix dec for next arg

This commit is contained in:
7u83 2024-07-03 07:37:44 +02:00
parent ffeea2dfaf
commit 71a551d028

View File

@ -11,6 +11,7 @@ uint8_t long_add(__idata uint8_t *v1, __idata uint8_t *v2,uint8_t len) __reentra
add a,#0xfd add a,#0xfd
mov r0,a mov r0,a
mov a,@r0 ; *v2 mov a,@r0 ; *v2
dec r0
mov r1,a mov r1,a
mov a,@r0 ; len mov a,@r0 ; len
mov r7,a mov r7,a