While debugging my code, I came across an idea to manipulate the PC. I fiddled with it in a separate file and got interesting results but on a microcontroller level, I couldn't really find a good use for it that couldn't be handled more clearly/simply with other instructions. (I was trying to apply the idea of dynamic functions at the time).
Now, I'm searching for some ideas on shrinking or compressing strings suitable for the microcontroller when I come across this post Strings in ROM using assembler. The post that caught my eye was a comment:
also, there is a trick described somewhere on how to put the text right in the code and manipulate the pointer (stack?) to access it directly after the instruction.
I've been searching this forum for the past couple of days and I can't find the post where the trick is. I'm really curious about this trick and how it's applied.
I'm just curious at the solution. Can anyone help me find it?