diff code_part1/OSTC_code_asm_part1/math.asm @ 577:e3ffc6d62a63

minor clean
author heinrichsweikamp
date Sun, 22 Apr 2012 21:32:04 +0200
parents 44e9b961f156
children c50296c3059e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/math.asm	Sun Apr 22 14:38:10 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/math.asm	Sun Apr 22 21:32:04 2012 +0200
@@ -44,26 +44,6 @@
 	bra		div16
 	return
 
-sub32:  ;xC:4=xC:4-sub_c:4 (Warning: sub_c+3 trashes sub_a+0!)
-	movf    sub_c+0, W
-	subwf   xC+0, F
-
-	movf    sub_c+1, W
-	BTFSS    STATUS, C
-	incfsz sub_c+1, W
-	subwf xC+1, F
-
-	movf    sub_c+2, W
-	BTFSS    STATUS, C
-	incfsz sub_c+2, W
-	subwf xC+2, F
-
-	movf    sub_c+3, W
-	BTFSS    STATUS, C
-	incfsz sub_c+3, W
-	subwf xC+3, F
-	return
-
 sub16:	;  sub_c = sub_a - sub_b (with signed values)
 	bcf		neg_flag
 	movf   	sub_b+0, W             	; Get Value to be subtracted