CPU = 16F876 MHZ = 10 CONFIG 16254 ;*********************************************** ; http://www.basicmicro.com ; Title : read.bas ; Author : Dale Kubin ; Date : 04/29/02 ; Data and Read commands. Read data stored in ; on board eeprom ;*********************************************** DOG var byte CAT var byte DATA "Hello","World" ;Set the initial value stored in eeprom at programming time Main FOR CAT = 0 to 10 STEP 1 ;increments address 0 to 10 READ CAT,DOG ;reads current address, stores result in DOG Debug [HEX dog," ",dog,13] ;Display results NEXT