I have to declare 200 RAM locations
I'm going to declare like this.
After that can I load values like this?
Does the RAM names will asign like this P1,P2,...P100,P200 ??
The other problem is, the RAMS comes from 3 banks.
1st 40 bytes from 0C9h-0EF = 40bytes
2nd 80 bytes from 120h-16Fh = 80 bytes
3rd 80 bytes from 1A0h-1EFh = 80bytes
I'm going to declare like this.
Code:
cblock
P1:200
endc
After that can I load values like this?
Code:
movlw .15
movwf P100
movlw .56
movwf P196
Does the RAM names will asign like this P1,P2,...P100,P200 ??
The other problem is, the RAMS comes from 3 banks.
1st 40 bytes from 0C9h-0EF = 40bytes
2nd 80 bytes from 120h-16Fh = 80 bytes
3rd 80 bytes from 1A0h-1EFh = 80bytes
Last edited: