WLDR Instruction
Posted: Sun Nov 16, 2014 3:15 pm
I'm trying to make sense of the WLDR instruction in rom_pitch.spn:
wldr 0, 0, 4096
The notes say:
'''
wldr rmp0,freq,amp
There are two RAMP generators in the FV-1, RMP0 and RMP1
The frequency variable is a 16 bit value
The frequency variable is a 2 bit value 00 (0)=512, 01 (1)=1024, 10 (2)=2048 and 11 (3)=4096
'''
Conflicting information about the freq variable... Should it say "The amplitude variable is a 2 bit value..." But then, in rom_pitch the amp=4096 (not a 2 bit value).
Any insights would be greatly appreciated!
-Colin
wldr 0, 0, 4096
The notes say:
'''
wldr rmp0,freq,amp
There are two RAMP generators in the FV-1, RMP0 and RMP1
The frequency variable is a 16 bit value
The frequency variable is a 2 bit value 00 (0)=512, 01 (1)=1024, 10 (2)=2048 and 11 (3)=4096
'''
Conflicting information about the freq variable... Should it say "The amplitude variable is a 2 bit value..." But then, in rom_pitch the amp=4096 (not a 2 bit value).
Any insights would be greatly appreciated!
-Colin