neg.s



;
; Ullrich von Bassewitz, 05.08.1998
;
; CC65 runtime: negation on ints
;

 	.export		negax

negax:	clc
 	eor	#$FF
 	adc	#1
 	pha
 	txa
 	eor	#$FF
 	adc	#0
   	tax
 	pla
	rts





Valid HTML 4.0! neg.s.html; generated on Sat Oct 13 22:41:33 2001 by ca65html
uz@cc65.org