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...
Re: WORDs count at compile/assembly time
The same thing happens always again: I ask a question and a few minutes later, I find the answer!
flotulopex - 25th February 2026, 17:32Am I the only one that happens to? :D
Here is this info to be found, in the .LST file generated...