Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/i2c_eeprom.asm @ 42:da553e5c7a90
1.63 in work
author | heinrichsweikamp |
---|---|
date | Sun, 20 Jun 2010 22:11:28 +0200 |
parents | 73014f788032 |
children | 263348f83485 |
comparison
equal
deleted
inserted
replaced
41:3ab1188651af | 42:da553e5c7a90 |
---|---|
187 movlw d'1' ; and increase search address | 187 movlw d'1' ; and increase search address |
188 addwf ext_ee_temp1,F | 188 addwf ext_ee_temp1,F |
189 movlw d'0' | 189 movlw d'0' |
190 addwfc ext_ee_temp2,F | 190 addwfc ext_ee_temp2,F |
191 | 191 |
192 btfsc ext_ee_temp2,7 ; 8000 reached? | 192 btfsc ext_ee_temp2,7 ; 0x8000 reached? |
193 bra get_free_EEPROM_location3b ; yes | 193 bra get_free_EEPROM_location3b ; yes |
194 | 194 |
195 bsf SSPCON2, ACKEN ; no, send Ack | 195 bsf SSPCON2, ACKEN ; no, send Ack |
196 rcall WaitMSSP | 196 rcall WaitMSSP |
197 bra get_free_EEPROM_location2 ; and continue search | 197 bra get_free_EEPROM_location2 ; and continue search |