Running the uVision Simulator. In the dissasembly window, the section to the left normally becomes green when the line is executed. But what does it mean when it gets red clour. Note that I do not mean the breakpoint mark. I found this when trying to debug an exemle project from Keil. On a specific line the field becomes red instead of green when executed.
Hello Tomas,
You asked: "But what does it mean when it gets red color."
In the disassembly window, it is possible have a conditional statement that evaluates to true or false.
Orange (which looks red on some monitors) is a conditional false statement.
Cyan is a conditional true statement.
If both the true and false options have been executed, the conditional statement will display as green. More information can be found at:
http://www.keil.com/support/docs/1857.htm