Unable to fit variable XXX in requested bank 0


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Unable to fit variable XXX in requested bank 0

    Well, well, well

    I have done some screen copies of my disassembly listing.
    Unfortunately the version of my program for which I had some warning messages is no more available but, however, we can address the issue with these examples.

    On the first page one can see the system variables (Flags, R0, R1, R2 ...) starting at 00H and in my case ending at 32H.
    They do not take so much room.

    The second page is an extract of the space which should be dedicated to BANK0 variables plus others if room is available.
    The BANK0 goes up to FFH. I have no problem with "squatting variables" which feel well there but I am concerned when they stay if other more critical variables with a formal BANK0 declaration need to be there.

    And believe me or not when the warning message raised I had some BANK0 variables at 102H and 104H and non BANK0 labelled variables inside the BANK0 space. This is what I have observed.

    Anyway, placing some non critical variables in BANK1 or elsewhere looks as being a good solution. In my case it works.

    Best regards

    MikeBZH
    Attached Images Attached Images

Similar Threads

  1. Unable to fit variable
    By lerameur in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 29th November 2010, 20:34
  2. incorrect requested number of data bytes recieved
    By doxdlite in forum mel PIC BASIC
    Replies: 0
    Last Post: - 17th April 2010, 22:47
  3. Unable to pass a variable to LCDOUT without getting compile errors
    By Ferroto Baggins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2010, 16:43
  4. unable to fit variable?
    By MOUNTAIN747 in forum General
    Replies: 4
    Last Post: - 4th February 2010, 20:20
  5. Fatal xxx.ASM 527: [308] macro buffer overflow
    By TerdRatchett in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th March 2009, 17:51

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