Re: How to make MPASM (et al.) convert a real number to a number format? e.g. Qm.f Fixed-p
"... or you can try Olin's MPASM preprocessor PREPIC:"
Interesting. Seems like this very problem is exactly why Olin made that tool.
Yeah, I figured I can't be the only one who ran into this problem. Using that tool would probably make real numbers in ASM possible. ... however ... At that point I'm accepting the use of community/third party tools. To admit that, I would also have to accept other tools as viable. Then, a vary large door has been opened...
GPASM exists, and is open source. So why not rewrite that to do what I REALLY want? But, if I'm going to use GPASM, why not use the whole GPUTILS suite? At that point, gotta' figure that SDCC would also be on the table, and is an ostensibly better choice. (That project sphere desperately needs maintainers/curators, BTW.)
All in all, I'd ultimately end up slipping all the way down the slope, and falling on using C. In which case, I'd almost for sure also be saying bye bye to PIC, and hello to STM32 family. (The NUCLEO boards, in particular, are looking mighty tasty right now.)