I am new to pic assembly programming. I have read a few tutorials and found out that they are not very conprehensive. They just tell us to do this and that without explaining what they are.
Let me give you an example,
They never tell what RP0, CMCON are. And some others. What i need now is a good book or websites explaining all these minor things. This is because i don't just want to follow the tutorials, but i want to go deeper. I hope you guys know what i mean. I would appreciate if anyone could tell any websites, books or manuals(maybe from microcip) to me. Thank you.
Let me give you an example,
Code:
__config 0x3D18 ;sets the configuration settings
;(oscillator type etc.)
org 0x0000 ;org sets the origin, 0x0000 for the 16F628,
;this is where the program starts running
movlw 0x07
movwf CMCON ;turn comparators off (make it like a 16F84)
bsf STATUS, RP0 ;select bank 1
movlw b'00000000' ;set PortB all outputs
movwf TRISB
movwf TRISA ;set PortA all outputs
bcf STATUS, RP0 ;select bank 0
They never tell what RP0, CMCON are. And some others. What i need now is a good book or websites explaining all these minor things. This is because i don't just want to follow the tutorials, but i want to go deeper. I hope you guys know what i mean. I would appreciate if anyone could tell any websites, books or manuals(maybe from microcip) to me. Thank you.