In Nigel's "PIC Tutorial One - LED's" he uses;
Are each of these a defined register? Are they 8, 16 or how many bits wide?
For instance, if I define 'bucket' how many bits do I have that could be set/unset? Can the bits be manipulated like other registers?
Example using 8 bits
Would 'bucket' then be '01000010'?
Code:
cblock 0x20
count1
counta
countb
endc
Are each of these a defined register? Are they 8, 16 or how many bits wide?
For instance, if I define 'bucket' how many bits do I have that could be set/unset? Can the bits be manipulated like other registers?
Example using 8 bits
Code:
cblock 0x20
bucket
endc
movlw b'00000001'
movwf bucket
rlf bucket
bsf bucket, 6