Accessing the upper 64Kbytes with READCODE


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default Accessing the upper 64Kbytes with READCODE

    PBP has the statement READCODE, which accepts a word variable as an argument. However, I want to read bytes in the upper half of program memory in an 18F8722 (greater than location 65535).
    Can anyone tell me how to do this?
    Charles Linquist

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    I'm realizing that I probably need an assembly language subroutine to read the values. Does anyone have a routine written to do that?
    Charles Linquist

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


    Did you find this post helpful? Yes | No

    Default

    never did something like that but i can figure you'll need to use TBLRD stuff.

    Maybe the embedded string in your code space thread may help. Look the Bruce example.

    Well it's still just a pure guess. Sorry if i'm wrong.

    Anyone else can second this thought?
    Steve

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

Similar Threads

  1. Message String Table using Readcode
    By mytekcontrols in forum Code Examples
    Replies: 2
    Last Post: - 10th July 2005, 23:17
  2. writecode at upper half of 128K parts?
    By Tomasm in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd November 2004, 19:02

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