Hello Neil ! Thanks for your genial solution. I only have a little problem with it: The codes works without problems, but it doesent change everything :-) I have tried it with various numbers in the line ATABLE xx I have 16lines with RETLW first I tried .16 then much more like .20 or so, but never I get the solution. I' ve found a solution like the AN556, but there I also get problems. It works better, but the PIC returns with false lines an when the offset is 0 (zero) it hangs. Perhaps you can help me once a time. Thanks schaedle@swol.de \ olle / schaedle@usa.net \/\/olfgang DB6TE @ DB0CZ -----Urspr|ngliche Nachricht----- Von: STRONG, Neil -Syntegra An: PICLIST@MITVMA.MIT.EDU Datum: Freitag, 20. Mdrz 1998 11:36 Betreff: Re: Table (Paging problem ??) >I usually define the following macro and prefix tables with the macro > >ATable macro xxxSize > > if HIGH $ != HIGH ( $ + xxxSize ) > > org ( ( HIGH $ ) +1 ) * .256 > > endif > endm > >Then whenever you define a table, place the macro before the table >It effectively aligns the table on a 256 byte boundary if the table spans >the >boundary - it seems to have the desired effect, and takes no space unless >the page boundary is crossed > >ATable 26 ; 26 is the number of entries in the table >DTMF_TABLE_IN > ADDWF PCL, F ; springe zu Wert laut >W-Register > RETLW 'D' ; 0 > RETLW '1' > RETLW '2' > [....] > RETLW '9' > RETLW '0' ; A > RETLW '*' ; B > RETLW '#' ; C > RETLW 'A' ; D > RETLW 'B' ; E > RETLW 'C' ; F > >