So, what's the problem?. This is what I coded:
Code: Select all
rdax pot2, 1 ; Read POT2
sof 0.3, 0.3 ; Scale to 0.3, add 0.2
wrax reg1, 0 ; reg1: 0.3 to 0.6. Clear acc
rdax pot2, 1 ; Read POT2
sof -1, 0.999 ; Invert POT2 and add 0.999.
sof 1.99, 0 ; Scale to clip
sof -1, 0 ; Invert POT2
sof 0.38, 0.62 ; Scale 0.38, add 0.62
wrax reg2, 0 ; reg2: 0.38 to 1
Code: Select all
rdax input, 1.3 ; Read the input register and scale by 1.3
mulx reg2 ; Multiply the input by reg2 that varies between 0.62 and 1.
I can't scale on the rdax sentence by the register directly, no