Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Allocating registers from RAM for own use

Status
Not open for further replies.

Peet19

Member
Hi!
I want to allocate registers from RAM for my own use using CBLOCK. So far, I’ve started booking from address 0h, but the interrupt is at address 08h. This is not a problem? Can only 7 bytes of registers be reserved?
Vagy 0x20-kor kezdjem?
CBLOCK 0
CNT1
CNT2
ENDC
 
The assembly language is very sympathetic to me. I also programmed in C but the assembly is much more interesting. Although I'm still in trouble with math operations.
 
Hi!
Now I understand the memory map. I still have so many questions that there are symbolic names next to the titles at the beginning of the file register. What does that mean?
I chose this PIC because there is a lot of it out there.

View attachment 137426
You need to read the datasheet - it's all explained in there.

For a clue, many of those are bits in ADCON2.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top