Valter Gruntar wrote: > You have to check, on which page in the prog.memory is the Table. Can't you just load the register with a bitwise shifted and masked copy of the current address pointer "$"? table movlw x movwf PCLATH addwf PCL,f data retlw ... retlw ... Where "x" would be the MPASM (or gpasm) syntax equivalent for the C expressed "data>>8". And this is? -- James Cameron (cameron@stl.dec.com) Digital Equipment Corporation (Australia) Pty. Ltd. A.C.N. 000 446 800