How can I store a port number into the on chip EEPROM and then read it back and do something like this,

start:
High portnumber
pause 1000
Low portnumber
pause 1000
goto start