S Suraj143 Active Member Sep 30, 2015 #1 I want to declare 192 GPR in C block.Is there any easy way of doing it without writing all 192 bytes in C block? I use PIC16F88 Will this work? cblock 110h Byte:60h ;96 bytes endc cblock 190h Byte:60h ;Next 96 bytes endc
I want to declare 192 GPR in C block.Is there any easy way of doing it without writing all 192 bytes in C block? I use PIC16F88 Will this work? cblock 110h Byte:60h ;96 bytes endc cblock 190h Byte:60h ;Next 96 bytes endc
P Pommie Well-Known Member Most Helpful Member Sep 30, 2015 #2 That should work but the areas will have a gap between them. How do you intend to access this 192 byte block? Mike.
That should work but the areas will have a gap between them. How do you intend to access this 192 byte block? Mike.
gophert Well-Known Member Most Helpful Member Oct 3, 2015 #3 Suraj143 said: I want to declare 192 GPR in C block.Is there any easy way of doing it without writing all 192 bytes in C block? I use PIC16F88 Will this work? cblock 110h Byte:60h ;96 bytes endc cblock 190h Byte:60h ;Next 96 bytes endc Click to expand... You can use the decimal numeral as well (hex not required). Just make sure all of the registers are available before making an assignment. That is, make sure they are not reserved as special function registers.
Suraj143 said: I want to declare 192 GPR in C block.Is there any easy way of doing it without writing all 192 bytes in C block? I use PIC16F88 Will this work? cblock 110h Byte:60h ;96 bytes endc cblock 190h Byte:60h ;Next 96 bytes endc Click to expand... You can use the decimal numeral as well (hex not required). Just make sure all of the registers are available before making an assignment. That is, make sure they are not reserved as special function registers.