@neauoire A long time ago I wrote a few little demo programs in LINC machine language on a PDP-12. There's a LINC instruction to sample an analog channel and leave the results in the accumulator, but which channel you're sampling is embedded in the instruction. So if you want to select a channel at runtime, you have to generate the instructions on the fly.