Home     Projects     Micro     Tools     Delphi     Developer     Site map
HOME  
 
 
       
Arithmetic Shift DPTR 1 Bit To Right

DOWNLOAD    MAIN
;******************************************
;  Description:
;	Arithmetic Shift DPTR 1 Bit To Right
;
;  Entry Requirements:
;	DPTR Has Value To Shift Right
;
;  On Exit:
;
;  Affected:
;
;  Stack:
;	X Bytes
;
;  Comments:
;
UTIL_DPTRASR1	
		push	acc
		mov	a,dph
		mov	c,acc.7
		rrc	a
		mov	dph,a
		mov	a,dpl	
		rrc	a
		mov	dpl,a
		pop	acc
		ret

Copyright(c) 2005-2010 sixca.com, All rights reserved.
Best view @ 800X600, IE 6.0 up    Terms of Use  Privacy Policy