diff code_part1/OSTC_code_asm_part1/i2c_eeprom.asm @ 425:a76c5a3e9e96

Minor cleanups
author JeanDo
date Sun, 31 Jul 2011 13:27:20 +0200
parents 7250ca7c8d24
children c512a868937c
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/i2c_eeprom.asm	Tue Aug 02 20:39:06 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/i2c_eeprom.asm	Sun Jul 31 13:27:20 2011 +0200
@@ -28,14 +28,7 @@
     	movlw		d'0'
     	addwfc		eeprom_address+1,F
 		return
-;    	btfss		eeprom_address+1,7		; at address 8000?
-;    	return                              ; No, continue
-;    
-;    	; Yes, clear eeprom_address:2
-;    	clrf		eeprom_address+0		; Clear eeprom address
-;    	clrf		eeprom_address+1
-;    	return								; Done.
-;
+
 ;=============================================================================
 ; Will decrease eeprom_address:2 with the 8Bit value "ext_ee_temp1"
 
@@ -50,13 +43,6 @@
         movlw		d'0'
         subwfb		eeprom_address+1,F
 		return
-;
-;        btfss		eeprom_address+1,7		; at address 8000?
-;        return                              ; No, done.
-;
-;        movlw		b'01111111'             ; yes, reset highbyte
-;        movwf		eeprom_address+1
-;    	return								; Done.
 
 ;=============================================================================