synthesizer programming pls help or give any hint

Status
Not open for further replies.

Raju C

Member level 2
Joined
Sep 17, 2009
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Bangalore
Activity points
1,558
I am doing program for synthesizer CMX7031,data i am taking from PIC18F , can any one tell me what is wrong with the below code?

LFSR 1,0X10
N_VALUE: MOVWF INDF1; ENTERED 'N' VALUE


;; UNTILL THE REMINDER IS LESS THAN DIVIDEND CALCULATE THE VALUE

SUBLW D'1024'
CPFSLT D'1024'
BRA $-4

ADDLW D'16384'
MOVWF SSP1BUF
CLRF INDF1
INCF FSR1L

BRA NVALUE
as it is 8 bit processor we cant add or substract it with 16 bit but as i am interfacing it with CMX7031 i need to program for synthesizer so how can i do this ? so any solutions pls
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…