23 lines
214 B
C
23 lines
214 B
C
#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;
|
|
|
|
}
|