mc8051fun/long_invert.c
2024-07-03 06:54:47 +02:00

22 lines
234 B
C

#include "mc8051fun.h"
void long_invert(__idata uint8_t *val, uint8_t len) __reentrant
{
(void)val;
(void)len;
__asm
mov a,_bp
add a,#0xfd
mov r0,a
mov a,@r0 ; len
mov r7,a
mov r0,dpl
lcall long_invert
__endasm;
}