mc8051fun/long_fill__.c

20 lines
180 B
C
Raw Normal View History

2024-07-14 23:43:05 +02:00
void long_fill() __naked
{
__asm
.globl long_fill_zero
.globl long_fill
long_fill_zero:
mov a,#0x00
long_fill:
mov @r0,a
inc r0
djnz r7,long_fill
ret
__endasm;
}