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

Truncated match.
PICList Thread
'landing code at even breaks'
2000\01\05@165710 by Terry A. Steen

flavicon
face
Riddle me this......

I am wanting to devise a good way to handle may calls from one page to
another. The big problem happens when I attempt to read a table.

when you do this:
(in page0)
   call   lookup

(in ANY OTHER page)
lookup   ; get data from table
   adwf   PCL,f
   retlw  data_1
     :      :
   retlw  data_n
This will NOT lookup the correct value because ALL of PCLATH was used by
the addwf command and NOT the call command.

To get around this, I am forced to set PCLATH bits, etc.

What I would like to find is a SIMPLE way to handle this problem that
doesn't need so much hard-wiring of the PCLATH.

Thanx! in advance,

Terry


-----------------------------------------------------------------
Sent from the desk of:
Terry Allen Steen, EE              spam_OUTengineeringTakeThisOuTspammarinapower.com
332 McLaws Circle, Ste 111         757-258-8800 (Voice)
Williamsburg, Va   23185           757-258-8805 (FAX)
-----------------------------------------------------------------
!I AM A WHALE MAIL USER! If you have a large file to send, goto
   http://www.whalemail.com    send them to:   mplengineer
       Give me your account and I will use it also
-----------------------------------------------------------------
Visit our web-site: http://www.marinapower.com
-----------------------------------------------------------------

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...