plan 9 kernel history: overview | file list | diff list

1992/1110/pc/l.s (diff list | history)

1992/1109/sys/src/9/pc/l.s:642,6531992/1110/sys/src/9/pc/l.s:642,653 (short | long | prev | next)
Use different registers. (XXX why?)
rsc Fri Mar 4 12:44:25 2005
1992/1107    
TEXT	l0update(SB),$0 
	XORL	AX,AX 
	MOVL	len+8(FP),CX 
	MOVL	from+0(FP),BX 
	MOVL	to+4(FP),DX 
1992/1110    
	MOVL	from+0(FP),SI 
	MOVL	to+4(FP),DI 
1992/1107    
l00: 
	MOVB	-1(BX)(CX*1),AL 
1992/1110    
	MOVB	-2(SI)(CX*2),AL 
1992/1108    
	MOVB	bitrevtab(SB)(AX*1),AL 
1992/1107    
	MOVB	AL,-1(DX)(CX*1) 
1992/1110    
	MOVB	AL,-1(DI)(CX*1) 
1992/1107    
	LOOP	l00 
1992/1108    
	RET 
 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)