R0,R1,R2...................R20 global variables

Post your requests and ideas on the future development of mikroC PRO for PIC.
Post Reply
Author
Message
gotronics
Posts: 118
Joined: 20 May 2013 16:37

R0,R1,R2...................R20 global variables

#1 Post by gotronics » 02 Dec 2016 23:02

HI Mikroelektronika team

R0............R20
are these varables used by the compiler for maths data etc, such that can save them as part of the context data in RTOS. I can not find information regarding them in mikroc Pro help .

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: R0,R1,R2...................R20 global variables

#2 Post by danilo.milovic » 05 Dec 2016 17:36

Hi,

R0,R1,R2...R20 are working registers used only by the compiler to store intermediate values during code execution, and as such shouldn't be modified by the users.

Regards,

Danilo

Post Reply

Return to “mikroC PRO for PIC Wish List”