 Question:
Simulator - code is highlighted in the disassembly window,
but not in the file window. Therefore he cannot single step through the program. What is
causing this?
Answer: The file
window is highlighted when the line of assembly code pointed to by the program counter
corresponds to the first line of code in the source file. Since a function or line of C
code can correspond to many lines of assembly it is common for the source file to not be
highlighted. Also on startup the first line of code is the C environment initialization
routine NOT C code. Execute the command 'GO main' to run up to the first line of code.
Stepping through C code is accomplished by the command 'CSTEP' |