hi,
i want to know please,
is there a way to watch the W value (work register - Wreg ) of the PIC in MikroC Pro on debugging mode?
Thanks a lot
watch value of W Reg in debugging mode.
- IvanJeremic
- mikroElektronika team
- Posts: 316
- Joined: 05 Sep 2022 14:32
Re: watch value of W Reg in debugging mode.
Hi,
You can see the value of WREG by adding it to the watch list, basically find WREG in your MCUs source file (in my case it will be PIC18F458) right click it and click on add to watch list.
After that you will be able to see its value in the watch list.
You can just write WREG in your main code and right click on it and click on find declaration if you are having trouble finding the source file for your MCU.
Regards,
Ivan.
You can see the value of WREG by adding it to the watch list, basically find WREG in your MCUs source file (in my case it will be PIC18F458) right click it and click on add to watch list.
After that you will be able to see its value in the watch list.
You can just write WREG in your main code and right click on it and click on find declaration if you are having trouble finding the source file for your MCU.
Regards,
Ivan.
Re: watch value of W Reg in debugging mode.
thanks thanks thanks
Re: watch value of W Reg in debugging mode.
OUPS!
i use a PIC 12F675, i can't use this way, because i can't find the WREG.
i use a PIC 12F675, i can't use this way, because i can't find the WREG.
- Attachments
-
- im1.jpg (1001.7 KiB) Viewed 568 times
Re: watch value of W Reg in debugging mode.
OUPS!
i use a PIC 12F675, i can't use this way, because i can't find the WREG.
i use a PIC 12F675, i can't use this way, because i can't find the WREG.