Fullfilling lookup tables


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Exclamation

    Use Excel!

    the first column contains the data (numbers), the second a formula like ="RETLW " & A1


    I prefer to use "@ DE" to put data inside the programcode and READBYTE to get them back.
    Usind more than 8 bit is a little bit tricky - processor - pbp - assembler don't realy fit together in every combination.
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BigWumpus
    I prefer to use "@ DE" to put data inside the programcode and READBYTE to get them back.
    Usind more than 8 bit is a little bit tricky - processor - pbp - assembler don't realy fit together in every combination.
    As far as i'm aware of... @ DE store into the EEPROM, not the codespace at all. and there's not benefit to use it unless you want to specify some label. DATA do the same thing.

    And READBYTE don't exist in PBP.. just READ
    Last edited by mister_e; - 25th July 2006 at 21:15.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    Ups....

    I have to return the last 4000 controllers tomorrow ? ;-)

    Use READCODE instead of READBYTE (it's the name of my sub)
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

Similar Threads

  1. PICs can do more if use others than delays instructions
    By hardcore in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th February 2010, 19:52
  2. ADCIN and LOOKUP ...
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th June 2007, 21:02
  3. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  4. Confused On Dig & Lookup
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th December 2006, 21:49
  5. Using large lookup tables
    By speck in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th April 2006, 21:40

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