Hi,
I would appreciate some guidance on the use, in baseline PIC architecture, of the pagesel Directive:
There is a tutorial on the Gooligum site using a 16F505 with a 7-seg display. The lookup tables have to be in the first 256 instructions of a Page ( because of the PCL bit<8> reset ). The 16F505 has 2 pages of Flash and so Mr. Gooligum is able to place the lookup tables at the start of a page by selecting the second page with the pagesel Directive. However, I'm using a 16F54 which has only one page. If I locate the lookup tables at the top of the page, using the CODE directive, the 'start' of the program will be somewhere in the middle of the page. Is this likely to be a recognised problem?
Bruce
I would appreciate some guidance on the use, in baseline PIC architecture, of the pagesel Directive:
There is a tutorial on the Gooligum site using a 16F505 with a 7-seg display. The lookup tables have to be in the first 256 instructions of a Page ( because of the PCL bit<8> reset ). The 16F505 has 2 pages of Flash and so Mr. Gooligum is able to place the lookup tables at the start of a page by selecting the second page with the pagesel Directive. However, I'm using a 16F54 which has only one page. If I locate the lookup tables at the top of the page, using the CODE directive, the 'start' of the program will be somewhere in the middle of the page. Is this likely to be a recognised problem?
Bruce