#include "mc8051fun.h" static void long_1cpl__() __naked { __asm .globl long_1cpl long_1cpl: clr c 001$: mov a,#0xff subb a,@r0 mov @r0,a inc r0 djnz r7,001$ ret __endasm; }