Fatal xxx.ASM 527: [308] macro buffer overflow


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    41

    Default Fatal xxx.ASM 527: [308] macro buffer overflow

    I installed PB Pro on my laptop to make my development portable. It runs, but I get "Fatal xxx.ASM 527: [308] macro buffer overflow" on a known good program when compiling.

    I saw a similar thread on this forum but there was no resolution documented.

    TIA,
    TR

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    From PM.txt.

    308 Macro Buffer Overflow

    An attempt was made to define a macro which was larger than 4K. This
    usually indicates a missing ENDM pseudo-op.
    You may have a macro without ENDM.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Feb 2009
    Posts
    41


    Did you find this post helpful? Yes | No

    Default

    Hi Bruce,

    Thanks for your help!

    I saw that, but it doesn't seem to apply in this case. This exact code compiles and runs perfectly on my desktop machine!

    Any other ideas?

    TIA,
    TR

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Zip-up the code you're having the problem with and I'll see if I get the same error here.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Feb 2009
    Posts
    41


    Did you find this post helpful? Yes | No

    Default

    I'm not exactly sure why but it started working. If it may help someone else here's what I did....

    I created a simple test program, and compiled it and it worked. Then I added Include "Modedefs.bas" and I got a message saying that it needed to use MPASM. I had it find MPASM, then it compiled. So I went back to my original program and recomplied and it said it the filename path was too long by 4 bytes. I shorted the filename and then it compiled ok.

    Go figure....

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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