![Phytec nanoModul-164 Quick Start Instructions Download Page 80](http://html.mh-extra.com/html/phytec/nanomodul-164/nanomodul-164_quick-start-instructions_1554144080.webp)
nanoMODUL-164 QuickStart Instructions
76
PHYTEC Meßtechnik GmbH 2003 L-379e_4
•
Open the Inline Assembler window by selecting Debug|Inline
Assembly...
•
Move the Window with your mouse to your upper left hand so
you can see your source code and the Watch Window.
•
Type the address 0x64 in the Current Assembly Address field
and press Enter on your keyboard. The assembly code at this
address appears in the Current Instruction field. It is the
addition of the variable bigcount with 2.
•
Type the assembler instruction ADD R10,#3 in the Enter New
Instruction field and press Enter. You could see the change of
your source code at address 0x64H.
•
Close the Inline Assembler window.
•
Click on RUN a few times and see that the value of bigcount
now is added with 3 at each run.
•
Remove the breakpoint at line 48 with a double mouse click.
4.6
Single Stepping
•
The debugger uses “Step Into” to single step one instruction at
a time. “Step Into” is also used to enter a function in the same
fashion.
•
“Step Over”
means to skip over a function that you are
not interested in.
•
“Step Out”
is used to exit a function you are currently in.
“Step Out” is very useful if you find yourself in a function you
are not interested in and need to return quickly to your intended
function.
•
If the debugger gets stuck, execute a reset using the RESET
icon located
next to the RUN icon. To isolate any
problems from the target hardware board you could use the
software simulator instead of the Monitor. You can also use the
hardware reset button on the board.
•
With the cursor on line 42 click on StepInto until you enter the
function stepout(). Note that you must click on StepInto 10
times to exit the for loop within the function stepout().
Summary of Contents for nanoModul-164
Page 48: ...nanoMODUL 164 QuickStart Instructions 44 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 72: ...nanoMODUL 164 QuickStart Instructions 68 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 84: ...nanoMODUL 164 QuickStart Instructions 80 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 92: ...nanoMODUL 164 QuickStart Instructions 88 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 96: ...Published by PHYTEC Meßtechnik GmbH 2003 Ordering No L 379e_4 Printed in Germany ...