Memory Locations on Micrcontrollers

MusicTech

New Member
I am starting with Microcontrollers and invested in three of the same low-end PICs in the 16F series. The are 28 pins 8-bit, and the frequency adjustable built in oscillator and are 25 IO. I just have a couple syntax and practicality questions, I am sorry if I use poor syntax in describing my inquiries, but I will do my best to explain:

1. How would you determine the memory locations of each register. For instance, there are RA0-7, RB0-7 and RC0-7. In examples I have found it just says something like MyPortB equ 0x05. How would you know that the 8-bits of B are at 0x05?

2. What is the syntax to adjust that internal oscillator, as prev. mentioned?

3. I am trying to generate square waves, so what is the syntax to say something along the lines of hi for x oscillations low for x oscillations etc.?

Thanks, again I am sorry if I used bad syntax in that.
 
Back
Top