I posted a message about boundry crossing in a pic16c65a. I found
reference to a lcall and lgoto instruction. I can I use this instruction
throught my code or only when it crosses the boundry?
+ACI-If they call it Tourist Season why can't we shoot 'em?+ACI-
|On Tue, 25 Aug 1998 22:11:28 -0700 Ralph Landry
<HAYWOOD.MAIN.NC.US> writes: rlandry
>I posted a message about boundry crossing in a pic16c65a. I found
>reference to a lcall and lgoto instruction. I can I use this
>throught my code or only when it crosses the boundry?
I wouldn't mess with the lcall and lgoto macros. If the constant tables
total less than 2K, put all the tables as well as a "movwf PCL" in the
high page and the rest of the program in the low page. The string access
would set up PCLATH and then call the movwf PCL. Upon returning from the
table, clear PCLATH so it points to the low page again and then all
subsequent calls and gotos in your program will work properly. It is
important that no interrupts occur while in the tables unless the ISR is
properly written to handle the possibility that PCLATH points to the high
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
More... (looser matching)
- Last day of these posts
- In 1998
, 1999 only
- New search...