piclist 2001\01\10\150439a >
Thread: Anyone have a solid strategy for code that spans pages?
www.piclist.com/techref/microchip/devices.htm?key=pic
face picon face BY : Olin Lathrop email (remove spam text)



> Call_page MACRO adress_new, save_w
>   local a = high $
>   local b = high adress_new
>   if a == b
>    call  adress_new
>   else
>    movwf  save_w
>    pagesel adress_new
>    movf  save_w,w
>    call  adress_new
>    movwf  save_w
>    pagesel $
>    movf  save_w,w
>   endif
>   endm

Note that this only works if ADDRESS_NEW is known at assembly time.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, RemoveMEolinspamspamRemoveMEembedinc.com, http://www.embedinc.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspamspammitvma.mit.edu with SET PICList DIGEST in the body


<002b01c07b3d$eb56a700$260bf6cd@pc> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Anyone have a solid strategy for code that spans pages?

month overview.

new search...