Can't say if it's just you or not, but ...
I get the exact opposite.
Whatever I do, everything compiles to an Even number of bytes.
The number is reported by MPASM. MCS just passes it along.
Thought maybe there could be a problem when things go over 65535, so I made a quick test program that just uses however many NOP's you want to suck up program space.
It always reports the correct number of bytes, +4-6 that PBP adds.
Maybe you can try it to see if the results are different.Code:ASM UseSpace macro Words variable HighLoop = high(Words) while HighLoop > 0 variable LowLoop = 255 while LowLoop > 0 nop variable LowLoop = LowLoop - 1 endw nop variable HighLoop = HighLoop - 1 endw variable LowLoop = low(Words) while LowLoop > 0 nop variable LowLoop = LowLoop - 1 endw endm ENDASM @ UseSpace 33000
Are you using an @ db xx anywhere?
<br>




Bookmarks