mc8051fun/long_invert__.c

23 lines
214 B
C
Raw Normal View History

2024-07-03 06:54:47 +02:00
#include "mc8051fun.h"
static void long_invert__() __naked
{
__asm
.globl long_invert
long_invert:
push AR0
push AR7
lcall long_1cpl
pop AR7
pop AR0
mov a,#0x01
lcall long_addbyte
ret
__endasm;
}