kr zkmod ksig, kzkmod ar zamod asig, kzamod zkcl kfirst, klast zacl kfirst, klast
Clear and modulate the za and zk spaces.
ksig - the input signal
kzkmod - controls which zk variable is used for modulation. A positive value means additive modulation, a negative value means multiplicative modulation. A value of 0 means no change to ksig. kzkmod can be i-rate or k-rate
kfirst - first zk or za location in the range to clear.
klast - last zk or za location in the range to clear.
zkmod facilitates the modulation of one signal by another, where the modulating signal comes from a zk variable. Either additive or mulitiplicative modulation can be specified.
zamod modulates one a-rate signal by a second one, which comes from a za variable. The location of the modulating variable is controlled by the i-rate or k-rate variable kzamod. This is the a-rate version of zkmod
zkcl clears one or more variables in the zk space. This is useful for those variables which are used as accumulators for mixing k-rate signals at each cycle, but which must be cleared before the next set of calculations.
zacl clears one or more variables in the za space. This is useful for those variables which are used as accumulators for mixing a-rate signals at each cycle, but which must be cleared before the next set of calculations.
k1 zkmod ksig, 23 ; adds value at location 23 to ksig a1 zamod asig, -402 ; multiplies asig by value at location 402
Robin Whittle
Australia
May 1997