Everything described below was tested in the program Proteus.
For example the code in the vector table which is defined only two interrupts, RESET the interrupt on ADC conversion. After the vector processor is RESET, then an empty infinite loop and then the interrupt handler from the ADC. If the code to remove the tag RESET: that is, just the label, but not the interrupt handler RESET code does not work(PC falls in the empty memory), while the code which was in the RESET handler is in fact executed(probably).
And again, if this interrupt is executed when you run MC, then why if I put the interrupt handler RESET the last - it is also closed(PC falls in the empty memory).
The crux of the matter:
- Why is this happening, if you make changes in the code that I described above?
-What is the RESET procedure?
-As it is called?