zanor
Member level 4
Hi!
I'm trying to make a lookup table for a LED sign I'm making (hardware done, test program done and working).
5x4 characters.
But then I 1280(256x5) byte big lookup table.
I have read somewhere that I need to alter the PCLATCH register.
Any help would be great!
Or if anyone know of a better method of doing this?
EDIT: BTW i'm using 16F648a, and assembly language.
Added after 1 hours 29 minutes:
I have been reading alot now and I think I know some more now.
Please correct me if I'm wrong.
If I load 0x06 into PCLATCH and then 0xAB into PCL will it then go directly to 0x06AB?
But if I use a GOTO or CALL command, where does the 8-10 bits of PC come from?
Or does it just find those bits by it self? :roll:
I'm trying to make a lookup table for a LED sign I'm making (hardware done, test program done and working).
5x4 characters.
But then I 1280(256x5) byte big lookup table.
I have read somewhere that I need to alter the PCLATCH register.
Any help would be great!
Or if anyone know of a better method of doing this?
EDIT: BTW i'm using 16F648a, and assembly language.
Added after 1 hours 29 minutes:
I have been reading alot now and I think I know some more now.
Please correct me if I'm wrong.
If I load 0x06 into PCLATCH and then 0xAB into PCL will it then go directly to 0x06AB?
But if I use a GOTO or CALL command, where does the 8-10 bits of PC come from?
Or does it just find those bits by it self? :roll: