program Eeprom
dim counter as byte ' loop variable
main:
for counter = 0 to 31 ' Fill data buffer
EEPROM_Write(0x80+counter, counter) ' Write data to address 0x80+ii
next counter
EEPROM_Write(0x02,0xAA) ' Write some data at address 2
EEPROM_Write(0x50,0x55) ' Write some data at address 0150
end.