Does LabVIEW not produce integer coefficients (a simple polynomial fit)?
If not, you will find precisely because of this, why it is cheaper to do so. On a machine with hardware multiply, it's just a matter of pulling down parameters and chugging, on loop (Horner's method); without, it's calls/jumps to a multiplication routine (typically shift and accumulate). If you can constrain LabVIEW to produce results of this form, you will have a much easier -- and faster -- time.
There are also rational approximation methods (
https://en.wikipedia.org/wiki/Pad%C3%A9_approximant ), which on an add-shift machine, might be competitive with polynomial methods -- division is a shift-subtract algorithm, taking similar time to multiplication but fewer terms may be necessary.
I suppose this isn't an excuse to wholly avoid implementing pow() -- but it can push off the need for it quite far, and indeed the same method, loaded with different coefficients, might serve to implement that very function, at least over a certain range, and the range (and selection of coefficients) can then be managed by an outside function.
How many things are you looking to get into that MPU at once, anyway? And how much storage does it have accessible? If practically unlimited (e.g. parallel or SPI Flash chip, SD card*), how will you access and manage it? With so little ROM to work with, it seems likely that some kind of very basic, very general, interpreted language will be necessary. Perhaps even just to implement access to such things. Which means any real "thinking" (like evaluating pow()) will take
very long indeed -- fast enough for a handheld calculator perhaps, but doubtful for something like a control loop. Well, maybe like temperature control, there's a lot that can be done between seconds of samples. But besides that...
*Probably not, at least not in the most convenient form -- FAT16 takes a few kB to implement I think, and is only good to a few hundred MB capacity (or a couple GB with some inconvenience); FAT32 takes a few kB more, and is good for pretty much whatever size is available these days. You might be able to access the SD card as a flat memory store, with less code, but not with FAT, and so you'll have to copy data to the SD card using some raw method (disk image, hex editor, etc.).
Hmm, I wonder if you can format an SD card for FAT32 and place exactly one file on it, and have that file be at a consistent sector offset, no fragmentation, etc...
Tim