Samo: >I have 251 bytes long table and I'd like to know how to put it to the >beginning of 256 bytes block. Where do I have to put it to have access to >all bytes in table? You can use the ORG statement to line it up on a 256 byte boundary. eg. ORG h'800' Another way is to keep track & adjust PCLATH if the table spans a 256 byte boundary. This is from one of my projects: phase_table: ; movwf temp1 ; movlw high tbl_phase ;get high bits on table start address movwf pclath ;set up high bits of program counter movf temp1,w ; addlw low tbl_phase ;add table start address to entry byte btfsc carry ;is that going to push us over a boundary? incf pclath,f ;yes, set pclath for page crossing movwf pcl ;calculate jump tbl_phase: ; retlw .0 ;0 retlw .3 ;1 and so on with the rest of the table... David... -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics