Searching \ for 'boundry crossing' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=boundry+crossing
Search entire site for: 'boundry crossing'.

Truncated match.
PICList Thread
'boundry crossing'
1998\08\25@234431 by Ralph Landry

flavicon
face
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?

-Ralph
rlandry+AEA-haywood.main.nc.us
+ACI-If they call it Tourist Season why can't we shoot 'em?+ACI-

1998\08\26@013153 by Mike Keitz

picon face
On Tue, 25 Aug 1998 22:11:28 -0700 Ralph Landry
<spam_OUTrlandryTakeThisOuTspamHAYWOOD.MAIN.NC.US> writes:
>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?

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
page.



_____________________________________________________________________
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
- Today
- New search...