Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
0xc000: 40310xc002: 04000xc004: 40B20xc006: 5A800xc008: 01200xc00a: 403A0xc00c: 45AC0xc00e: 503A0xc010: 00150xc012: 3FFF
0xc000: 4031 0400 <‐‐ instruction 10xc004: 40B2 5A80 0120 <‐‐ instruction 20xc00a: 403A 45AC <‐‐ instruction 30xc00e: 503A 0015 <‐‐ instruction 40xc012: 3FFF <‐‐ instruction 5
c000: 4031 0400 MOV.W #0x0400, SPc004: 40B2 5A80 0120 MOV.W #0x5a80, &Watchdog_Timer_WDTCTL c00a: 403A 45AC MOV.W #0x45ac, R10c00e: 503A 0015 ADD.W #0x0015, R10loop:c012: 3FFF JMP loop
ECE2560 Lesson05 Page_1
Lesson05 Page 1
MOV.W #0x0400, SP MOV.W #0x5a80, &Watchdog_Timer_WDTCTL
MOV.W #0x45ac, R10 ADD.W #0x0015, R10
loop: JMP loop
4031 0400 40B2 5A80 0120 403A 45AC 503A 0015 3FFF
ECE2560 Lesson05 Page_2
Lesson05 Page 2
0xc000: 4031 04000xc004: 40B2 5A80 01200xc00a: 403A 45AC0xc00e: 503A 00150xc012: 3FFF
ECE2560 Lesson05 Page_3
Lesson05 Page 3
Screen clipping taken: 9/15/2013 8:30 PM
ECE2560 Lesson05 Page_4
Lesson05 Page 4
ECE2560 Lesson05 Page_5
Lesson05 Page 5
LaunchPad's User's Guide (SLAU318)MSP430G2553 Specific Data Sheet (SLAS735)MSP430x2xx Family User’s Guide (SLAU144)
Google SLAS735 and SLAU144 to locate the pdf Data sheets
http://processors.wiki.ti.com/index.php/Download_CCS
!!!!!!!!!!!!!! Important !!!!!!!!!!!!!!!!!
For the License choose "code limited" version and not the "free" version!
ECE2560 Lesson05 Page_6
Lesson05 Page 6
ECE2560 Lesson05 Page_7
Lesson05 Page 7
MOV.W #0x0400, SP MOV.W #0x5a80, &Watchdog_Timer_WDTCTL 5 Clock Cycles
MOV.W #0x45ac, R10 2 Clock Cycles ADD.W #0x0015, R10 2 Clock Cycles
loop: JMP loop 2 Clock Cycles
ECE2560 Lesson05 Page_8
Lesson05 Page 8