some help with math


Closed Thread
Results 1 to 40 of 65

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: some help with math

    if i do write data to the flash mem using the the write table asm , how do reserve the space so the compiler does not use it , write all over the top of it

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    Did you find this post helpful? Yes | No

    Default Re: some help with math

    13 words

    Code:
    g_num var byte 
        g_num = 10   
             if g_num <10  then                           ' leading 0 supression 
                 gosub d1
                 
             else
                 gosub d2
             endif                     
     d1:
     return
     d2:
     return

    84 words
    Code:
    g_num var byte 
        g_num = 10   
             if g_num dig 1 =0 then                           ' leading 0 supression 
                 gosub d1
                 
             else
                 gosub d2
             endif                     
     d1:
     return
     d2:
     return

    if i do write data to the flash mem using the the write table asm , how do reserve the space so the compiler does not use it , write all over the top of it

    do u mean with TBLWT OR DT

Similar Threads

  1. Help with A/D math!
    By dbodenheimer in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 19th March 2011, 00:51
  2. Math help please...
    By Ioannis in forum General
    Replies: 2
    Last Post: - 20th June 2008, 10:18
  3. PBPL Math...new math takes more cycles...Always?
    By skimask in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th February 2008, 10:22
  4. Math help please!!!
    By jbirnsch in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 10th August 2007, 14:45
  5. math help
    By houa in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th January 2006, 16:58

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts