
MenuThe same thing happens always again: I ask a question and a few minutes later, I find the answer!
Am I the only one that happens to? :D
Here is this info to be found, in the .LST file generated...
Hi,
I'm searching the way to get the number of WORDs used by a code like one can see it in MCS:
10042
Any idea how to get this information?
I got some help from the MP forum and the correct syntax is, for example:
flotulopex - 25th February 2026, 17:20
Hi Richard,
you are correct (as always)!
I thought we had to choose internal insteal of primary since it's set to an internal osc.
160bytes @ 50Hz is only 64kbits/s (average). Even SHIFTOUT should be able to handle that.
Running the SPI or MSSP module at a moderate 1Mbit/s will transfer those 160bytes in less than 2ms leaving...
I think the bottleneck will be the serial interface speed (SPI) which is normally used in small OLEDs. I could not find this display WS0010B on searching for it. Unless the PIC supports a SPI DMA...
Jerson - 21st February 2026, 15:41
try an
echo/ after the mpasm line in your batch file

Re: WORDs count at compile/assembly time
In general the .LST file has a lot of goodies, though I am not an expert on decoding fully this file.
Ioannis Today, 21:19Don't worry. Happen to me a lot of times! Just after hitting "Submit relply" got that aha...