Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/eeprom_rs232.asm @ 703:39e02673db4c
some cleanup
author | heinrichsweikamp |
---|---|
date | Sun, 17 Mar 2013 13:33:17 +0100 |
parents | 6e456a6398e0 |
children | 4452837aff37 |
comparison
equal
deleted
inserted
replaced
702:e6ff73e88e45 | 703:39e02673db4c |
---|---|
41 bra read_eeprom ; reads and "returns" after write | 41 bra read_eeprom ; reads and "returns" after write |
42 | 42 |
43 internal_eeprom_access_b2: ; accesses internal EEPROM BANK 2 via the UART | 43 internal_eeprom_access_b2: ; accesses internal EEPROM BANK 2 via the UART |
44 bcf internal_eeprom_write3 ; clear flag! | 44 bcf internal_eeprom_write3 ; clear flag! |
45 movlw d'2' | 45 movlw d'2' |
46 movwf EEADRH ;BANK1 | 46 movwf EEADRH ;BANK2 |
47 movlw "n" | 47 movlw "n" |
48 bra internal_eeprom_access1 ; Continue with common routines | 48 bra internal_eeprom_access1 ; Continue with common routines |
49 | 49 |
50 internal_eeprom_access_b1: ; accesses internal EEPROM BANK 1 via the UART | 50 internal_eeprom_access_b1: ; accesses internal EEPROM BANK 1 via the UART |
51 bcf internal_eeprom_write2 ; clear flag! | 51 bcf internal_eeprom_write2 ; clear flag! |