| 数据搜索系统,热门电子元器件搜索 |
|
SLAS191A 数据表(PDF) 20 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
SLAS191A 数据表(HTML) 20 Page - Texas Instruments |
|
20 / 86 page ![]() 1–14 ;**************************************************************************** ;Getting Started 1 Demo Program (C) TEXAS INSTRUMENTS on 2/96 ;**************************************************************************** SIM .set 0 ; 1 = Simulator ; 0 = STK/EVK RAM_orig .set 00240h ; Free Memory startadress SP_orig .set 003DEh ; stackpointer ;––– Control register definitions IE1 .equ 0h IE2 .equ 01h IFG1 .equ 02h IFG2 .equ 03h ME1 .equ 04h ME2 .equ 05h WDTCTL .equ 0120h WDTHold .equ 80h WDT_wrkey .equ 05A00h GIE .equ 08h ;**************************************************************************** ;Reset : Initialize processor ;**************************************************************************** .sect “MAIN” ,RAM_orig RESET MOV #SP_orig,SP ; initialize stackpointer MOV #(WDTHold+WDT_wrkey), &WDTCL ; Stop Watchdog Timer ;––– Clear Special Function Registers MOV.B #08h, IE1 ; ! Monitor ! CLR.B IE2 CLR.B IFG1 CLR.B IFG2 JMP $ ; Endless Loop File gs_stk1.asm Figure 1–11. Getting Started Demo Program |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |