kappa_am
Full Member level 6
- Joined
- Jul 16, 2012
- Messages
- 331
- Helped
- 19
- Reputation
- 38
- Reaction score
- 19
- Trophy points
- 1,298
- Location
- Vancouver
- Activity points
- 3,859
Hi all,
While ago, I wrote a program in PIC 18f45K22, which include array data computation. Today I tried to write it for PIC16F877A, it works but several arrays remain zero. I used data watch of the Mikroc
for example in below line
CL1 and DCHP have value but executing this line does not affect value of WON[0][CL1].
I wonder why?
I thought it is addressing problem, so I delete many other variables and turn the program to a simple routine, but the problem was consistent.
I would be grateful if you share your opinion with me.
thank you
While ago, I wrote a program in PIC 18f45K22, which include array data computation. Today I tried to write it for PIC16F877A, it works but several arrays remain zero. I used data watch of the Mikroc
for example in below line
Code:
WON[0][CL1]=DCHP;
CL1 and DCHP have value but executing this line does not affect value of WON[0][CL1].
I wonder why?
I thought it is addressing problem, so I delete many other variables and turn the program to a simple routine, but the problem was consistent.
I would be grateful if you share your opinion with me.
thank you