Hallo
I am busy getting familiar with the whole ASM SW for programming the pic PIC 12F675 in my PIC KIT 1 demo board. I am a first time programmer.
In one of the demo files they create two variables as shown below (question follows afterwards):
;************************** VARIABLE DEFINITIONS ******************************
cblock 0x20
STATE_LED ; LED state machine counter
STATE_DEBOUNCE ; button debounce state machine counter
endc
;***************************************************************************
Question:
1. What does cblock 0x20 exactly do?
2. How does one ascertain how big the variable is? In notherwords, when I create a variable, is it 8bits wide? Or 16 bits wide?
3. Suppose I wanted to create a variable that was 32bits wide, how does one do this?