"RMPA will fetch the indirectly addressed sample from the delay ram, multiply it by C and add the result to the previous content of ACC"
There's even an example code segment in the manual:
Code: Select all
; Crude variable delay line addressing
sof 0,0 ; Clear ACC
rdax POT1,1.0 ; Read POT1 value
wrax ADDR_PTR,0 ; Write value to pointer register, clear ACC
rmpa 1.0 ; Read sample from delay line
wrax DACL,0 ; Result to DACL and clear ACC
Code: Select all
delay_l mem 8000
delay_r mem 8000
ldax ADCR
wra delay_r, 0
ldax ADCL
wra delay_l, 0
Could I complete my stereo delay code with, the 'crude' example given in the manual:
Code: Select all
sof 0,0 ; Clear ACC
rdax POT1,1.0 ; Read POT1 value
wrax ADDR_PTR,0 ; Write value to pointer register, clear ACC
rmpa 1.0 ; Read sample from LEFT delay line
wrax DACL,0 ; Result to DACL and clear ACC
rmpa 1.0 ; Read sample from RIGTH delay line
wrax DACR,0 ; Result to DACL and clear ACC