Datasheet

123
Enter The g-command to start the program
Press <ESC> to Interrupt the program
Enter the u-command to execute a user reset
Enter the s-command to set a breakpoint
Enter the address of the breakpoint
Enter the g-command to start the program
Automatic stop on breakpoint
Press the SPACE key to execute a single step
>downloaded _PC_ _SP_ _SR_
reg 000: 0240 03de 0008 0000 f48c 0010 0000 15de
reg 0008 0e62 404d 0000 ffd0 2153 0e14 28ad feff
>go . .
>user break _PC_ _SP_ _SR_
reg 0000 0260 03de 0009 0000 f48c 0000 0000 15de
reg 0008 0e62 404d 0000 ffd0 2153 0e14 28ad 34af
>user reset _PC_ _SP_ _SR_
reg 0000 0240 03de 0008 0000 f48c 0000 0000 15de
reg 0008 0e62 404d 0000 ffd0 2153 0e14 28ad 34af
>set Bkpt 0000 0000 0264
>
>go_
>BP halted _PC_ _SP_ _SR_
reg 0000 0264 03de 000b 0000 f48c 0000 0000 15de
reg 0008 0e62 404d 0000 ffd0 2153 0e14 28ad 0000
>step
>>executed _PC_ _SP_ _SR_
reg 0000 026a 03de 0008 0000 f48c 0000 0000 15de
reg 0008 0e62 404d 0000 ffd0 2153 0e14 28ad 0000
>
Figure 119. Terminal Breakpoint
1.2.12 Accessing the Port on the MSP430x320 STK/EVK
Assemble and download the file gs_stk3.asm in the examples directory, as described previously.
Press the trigger button on the demo to start the program. Press the trigger button to toggle the display
between 0 and 1.
The following instructions are necessary:
;––– Init Port
BIC.B #01h,P0DIR ; Set P0.0 as input
BIC.B #01h,POIE ; Disable P0.0 interrupt
;––– Test of Port