Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Fri Aug 07, 2009 10:52 am
Look in C:\Program Files\PICC\Drivers\INPUT.C
This universal routine takes positive and negative values, decimal and hex strings. Problem is that because of this generic implementation it compiles to a relative large function.
For example, if you know your string is always a two characters long hexadecimal value you can create a much compacter function.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum