Fix dec for next arg
This commit is contained in:
parent
ffeea2dfaf
commit
71a551d028
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user