Making Program Code Space your playground...


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default really no way to program 14bits with POKECODE?

    ...
    You can however within your PBP Program do this...
    MyWord var Word
    MyWord=1
    WRITECODE address,MyWord
    and that address will have in 14-bits...
    00000000000001
    This is working fine with WRITECODE.

    Is it really impossible using POKECODE? Isn't there any workaround?
    Roger

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    As far as I can tell, according to the manual...
    POKECODE puts 'data' into program memory in the middle of your program, during 'program time', when your programmer is actually programming the chip.
    WRITECODE allows you to change the 'data' in the program memory space while your program is executing (after the PIC has been programmed, etc).

    Disregard...I see what you're saying...Statement above almost completely irrelevant!
    Last edited by skimask; - 19th July 2008 at 08:29.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Minimizing code space
    By Tobias in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th May 2009, 07:25
  3. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  4. Need more code space
    By ghutchison in forum General
    Replies: 1
    Last Post: - 12th February 2005, 20:54
  5. oscillator code and placement within program
    By bartman in forum mel PIC BASIC
    Replies: 14
    Last Post: - 14th December 2004, 02:39

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