PDA

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



TerdRatchett
- 5th March 2009, 16:32
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

Bruce
- 5th March 2009, 16:36
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.

TerdRatchett
- 5th March 2009, 17:38
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

Bruce
- 5th March 2009, 17:46
Zip-up the code you're having the problem with and I'll see if I get the same error here.

TerdRatchett
- 5th March 2009, 17:51
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....