>
> Hi all,
>
> After writing about 7K of assembler for the PicPocket, I started to
> wonder about the best placement of subroutines to avoid changing the
> PCLATH. Looking back through the code, I realised it would be no easy
> task to sort them out.
>
> I had some free time over the weekend and wrote this little Windoze
> utillity that scans through the code and lists all the subroutines and
> what pages they are called from. It helped me to place the subroutines
> in the most appropriate ROM page to minimize changing the PCLATH.
>
> Here is a short output listing...
>
> Label Address Page Times called from each ROM page Optimal
> ------------------------------------------------------------------
> Page 0 Page 1 Page 2 Page 3
> ------------------------------------------------------------------
>
> AnyKey 031E 0 6 13 8 8 N
> AreFiles 01C4 0 5 1 0 1 Y
> BCstartR 0DDF 1 2 6 4 10 N
>
> I have no idea if this is of any use to anyone else or not, but here it
> is :-)
>
>
http://www.picnpoke.com/demo/CallCalc.zip
>
> --
> Best regards
>
> Tony
>
> mICro's
>
http://www.picnpoke.com
>
sales
KILLspampicnpoke.com
>
> --
>
http://www.piclist.com hint: To leave the PICList
>
.....piclist-unsubscribe-requestKILLspam
.....mitvma.mit.edu