Archelon msp430 Assembler     Version 1.55 2004/01/08      File E:\mmcrfio\timerb.asm      Page 1

                     1 ; Archelon URCC C 3.17 2004/01/12
                     2 ; MSP430 CIF 2003/10/23
                     3 ; Compiled "E:\mmcrfio\timerb.c" Fri Feb 20 18:03:46 2004
                     4 ; 
                     5     .dbgseg dbg_syms
0000                 6     .align 0x2
0000 6c69662e        7     .long 0x6c69662e
0004 00000065        8     .long 0x65
0008 00000001        9     .long 0x1
000c 00000000       10     .long 0x0
0010 0167fffe       11     .long 0x167fffe
0014 00000000       12     .long 0x0
0018 00000048       13     .long DBG5
001c 00000000       14     .long 0x0
0020 00000000       15     .long 0x0
0024 00000000       16     .long 0x0
                    17 ; __builtin__ unsigned short _BIS_SR(unsigned short);
                    18 ; __builtin__ unsigned short _BIC_SR(unsigned short);
                    19 ; __builtin__ unsigned short _BIS_SR_IRQ(unsigned short);
                    20 ; __builtin__ unsigned short _BIC_SR_IRQ(unsigned short);
                    21 ;  __builtin__ void _DINT(void);
                    22 ; __builtin__ void _EINT(void);
                    23 ; __builtin__ void _NOP(void);
                    24 ; __builtin__ void _OPC(const unsigned short op);
                    25 ; __builtin__ short _SWPB(short);  
                    26 ; __builtin__ long _SWPB_LONG(long);  
                    27 ; __builtin__ float _SWPB_FLOAT(float);  
                    28 ; sfrb    IE1               = (0x0000) ;
                    29 ; sfrb    IFG1              = (0x0002) ;
                    30 ; sfrb    ME1               = (0x0004) ;
                    31 ; sfrb    IE2               = (0x0001) ;
                    32 ; sfrb    IFG2              = (0x0003) ;
                    33 ; sfrb    ME2               = (0x0005) ;
                    34 ; sfrw    WDTCTL            = (0x0120) ;
                    35 ; sfrw    MPY               = (0x0130) ;
                    36 ; sfrw    MPYS              = (0x0132) ;
                    37 ; sfrw    MAC               = (0x0134) ;
                    38 ; sfrw    MACS              = (0x0136) ;
                    39 ; sfrw    OP2               = (0x0138) ;
                    40 ; sfrw    RESLO             = (0x013A) ;
                    41 ; sfrw    RESHI             = (0x013C) ;
                    42 ; const sfrw SUMEXT         = (0x013E) ;
                    43 ; const sfrb P1IN           = (0x0020) ;
                    44 ; sfrb    P1OUT             = (0x0021) ;
                    45 ; sfrb    P1DIR             = (0x0022) ;
                    46 ; sfrb    P1IFG             = (0x0023) ;
                    47 ; sfrb    P1IES             = (0x0024) ;
                    48 ; sfrb    P1IE              = (0x0025) ;
                    49 ; sfrb    P1SEL             = (0x0026) ;
                    50 ; const sfrb P2IN           = (0x0028) ;
                    51 ; sfrb    P2OUT             = (0x0029) ;
                    52 ; sfrb    P2DIR             = (0x002A) ;
                    53 ; sfrb    P2IFG             = (0x002B) ;
                    54 ; sfrb    P2IES             = (0x002C) ;
                    55 ; sfrb    P2IE              = (0x002D) ;
                    56 ; sfrb    P2SEL             = (0x002E) ;
                    57 ; const sfrb P3IN           = (0x0018) ;
                    58 ; sfrb    P3OUT             = (0x0019) ;
                    59 ; sfrb    P3DIR             = (0x001A) ;
                    60 ; sfrb    P3SEL             = (0x001B) ;
                    61 ; const sfrb P4IN           = (0x001C) ;
                    62 ; sfrb    P4OUT             = (0x001D) ;
                    63 ; sfrb    P4DIR             = (0x001E) ;
                    64 ; sfrb    P4SEL             = (0x001F) ;
                    65 ; const sfrb P5IN           = (0x0030) ;
                    66 ; sfrb    P5OUT             = (0x0031) ;
                    67 ; sfrb    P5DIR             = (0x0032) ;
                    68 ; sfrb    P5SEL             = (0x0033) ;
                    69 ; const sfrb P6IN           = (0x0034) ;
                    70 ; sfrb    P6OUT             = (0x0035) ;
                    71 ; sfrb    P6DIR             = (0x0036) ;
                    72 ; sfrb    P6SEL             = (0x0037) ;
                    73 ; sfrb    U0CTL             = (0x0070) ;
                    74 ; sfrb    U0TCTL            = (0x0071) ;
                    75 ; sfrb    U0RCTL            = (0x0072) ;
                    76 ; sfrb    U0MCTL            = (0x0073) ;
                    77 ; sfrb    U0BR0             = (0x0074) ;
                    78 ; sfrb    U0BR1             = (0x0075) ;
                    79 ; const sfrb U0RXBUF        = (0x0076) ;
                    80 ; sfrb    U0TXBUF           = (0x0077) ;
                    81 ; sfrb    U1CTL             = (0x0078) ;
                    82 ; sfrb    U1TCTL            = (0x0079) ;
                    83 ; sfrb    U1RCTL            = (0x007A) ;
                    84 ; sfrb    U1MCTL            = (0x007B) ;
                    85 ; sfrb    U1BR0             = (0x007C) ;
                    86 ; sfrb    U1BR1             = (0x007D) ;
                    87 ; const sfrb U1RXBUF        = (0x007E) ;
                    88 ; sfrb    U1TXBUF           = (0x007F) ;
                    89 ; const sfrw TAIV           = (0x012E) ;
                    90 ; sfrw    TACTL             = (0x0160) ;
                    91 ; sfrw    TACCTL0           = (0x0162) ;
                    92 ; sfrw    TACCTL1           = (0x0164) ;
                    93 ; sfrw    TACCTL2           = (0x0166) ;
                    94 ; sfrw    TAR               = (0x0170) ;
                    95 ; sfrw    TACCR0            = (0x0172) ;
                    96 ; sfrw    TACCR1            = (0x0174) ;
                    97 ; sfrw    TACCR2            = (0x0176) ;
                    98 ; const sfrw TBIV           = (0x011E) ;
                    99 ; sfrw    TBCTL             = (0x0180) ;
                   100 ; sfrw    TBCCTL0           = (0x0182) ;
                   101 ; sfrw    TBCCTL1           = (0x0184) ;
                   102 ; sfrw    TBCCTL2           = (0x0186) ;
                   103 ; sfrw    TBCCTL3           = (0x0188) ;
                   104 ; sfrw    TBCCTL4           = (0x018A) ;
                   105 ; sfrw    TBCCTL5           = (0x018C) ;
                   106 ; sfrw    TBCCTL6           = (0x018E) ;
                   107 ; sfrw    TBR               = (0x0190) ;
                   108 ; sfrw    TBCCR0            = (0x0192) ;
                   109 ; sfrw    TBCCR1            = (0x0194) ;
                   110 ; sfrw    TBCCR2            = (0x0196) ;
                   111 ; sfrw    TBCCR3            = (0x0198) ;
                   112 ; sfrw    TBCCR4            = (0x019A) ;
                   113 ; sfrw    TBCCR5            = (0x019C) ;
                   114 ; sfrw    TBCCR6            = (0x019E) ;
                   115 ; sfrb    DCOCTL            = (0x0056) ;
                   116 ; sfrb    BCSCTL1           = (0x0057) ;
                   117 ; sfrb    BCSCTL2           = (0x0058) ;
                   118 ; sfrw    FCTL1             = (0x0128) ;
                   119 ; sfrw    FCTL2             = (0x012A) ;
                   120 ; sfrw    FCTL3             = (0x012C) ;
                   121 ; sfrb    CACTL1            = (0x0059) ;
                   122 ; sfrb    CACTL2            = (0x005A) ;
                   123 ; sfrb    CAPD              = (0x005B) ;
                   124 ; sfrw    ADC12CTL0         = (0x01A0) ;
                   125 ; sfrw    ADC12CTL1         = (0x01A2) ;
                   126 ; sfrw    ADC12IFG          = (0x01A4) ;
                   127 ; sfrw    ADC12IE           = (0x01A6) ;
                   128 ; sfrw    ADC12IV           = (0x01A8) ;
                   129 ; sfrw    ADC12MEM0         = (0x0140) ;
                   130 ; sfrw    ADC12MEM1         = (0x0142) ;
                   131 ; sfrw    ADC12MEM2         = (0x0144) ;
                   132 ; sfrw    ADC12MEM3         = (0x0146) ;
                   133 ; sfrw    ADC12MEM4         = (0x0148) ;
                   134 ; sfrw    ADC12MEM5         = (0x014A) ;
                   135 ; sfrw    ADC12MEM6         = (0x014C) ;
                   136 ; sfrw    ADC12MEM7         = (0x014E) ;
                   137 ; sfrw    ADC12MEM8         = (0x0150) ;
                   138 ; sfrw    ADC12MEM9         = (0x0152) ;
                   139 ; sfrw    ADC12MEM10        = (0x0154) ;
                   140 ; sfrw    ADC12MEM11        = (0x0156) ;
                   141 ; sfrw    ADC12MEM12        = (0x0158) ;
                   142 ; sfrw    ADC12MEM13        = (0x015A) ;
                   143 ; sfrw    ADC12MEM14        = (0x015C) ;
                   144 ; sfrw    ADC12MEM15        = (0x015E) ;
                   145 ; sfrb    ADC12MCTL0        = (0x0080) ;
                   146 ; sfrb    ADC12MCTL1        = (0x0081) ;
                   147 ; sfrb    ADC12MCTL2        = (0x0082) ;
                   148 ; sfrb    ADC12MCTL3        = (0x0083) ;
                   149 ; sfrb    ADC12MCTL4        = (0x0084) ;
                   150 ; sfrb    ADC12MCTL5        = (0x0085) ;
                   151 ; sfrb    ADC12MCTL6        = (0x0086) ;
                   152 ; sfrb    ADC12MCTL7        = (0x0087) ;
                   153 ; sfrb    ADC12MCTL8        = (0x0088) ;
                   154 ; sfrb    ADC12MCTL9        = (0x0089) ;
                   155 ; sfrb    ADC12MCTL10       = (0x008A) ;
                   156 ; sfrb    ADC12MCTL11       = (0x008B) ;
                   157 ; sfrb    ADC12MCTL12       = (0x008C) ;
                   158 ; sfrb    ADC12MCTL13       = (0x008D) ;
                   159 ; sfrb    ADC12MCTL14       = (0x008E) ;
                   160 ; sfrb    ADC12MCTL15       = (0x008F) ;
                   161 ; typedef int boolean;
                   162 ; boolean size 2
                   163 ; enum {false = 0, true = 1};
                   164 ; enum {error = -1, success = 0};
                   165 ; int timerbInit(void);
                   166 ; void timerbStart(void);
                   167 ; void timerbStop(void);
                   168 ; int timerbInit(void)
                   169 DBG3:
0028 00000000      170     .long 0x0
002c 0000003c      171     .long DBG10
0030 00000000      172     .long _timerbInit
0034 00000044      173     .long 0x44
0038 01020001      174     .long 0x1020001
003c 00000050      175     .long DBG1
0040 0000001c      176     .long DBG7-DBG8
0044 00000000      177     .long DBG9
0048 000000dc      178     .long DBG6
004c 00000000      179     .long 0x0
                   180     .pseg timerb_code
                   181 DBG8:
                   182     .dbgseg dbg_syms
                   183 DBG1:
0050 0066622e      184     .long 0x66622e
0054 00000000      185     .long 0x0
0058 00000000      186     .long DBG8
005c 00000000      187     .long 0x0
0060 01650001      188     .long 0x1650001
0064 00000000      189     .long 0x0
0068 00000009      190     .long 0x9
006c 00000000      191     .long 0x0
0070 00000104      192     .long DBG11
0074 00000000      193     .long 0x0
                   194     .dbgseg dbg_line
0000               195     .align 0x2
                   196 DBG9:
0000 00000028      197     .long DBG3
0004 00000000      198     .long 0x0
0008 00000000      199     .long _timerbInit
000c 00000001      200     .long 0x1
0010 00000000      201     .long DBG13
0014 00000002      202     .long 0x2
0018 00000000      203     .long DBG14
001c 00000004      204     .long 0x4
0020 00000006      205     .long DBG15
0024 00000005      206     .long 0x5
0028 0000000c      207     .long DBG16
002c 00000007      208     .long 0x7
0030 00000012      209     .long DBG17
0034 00000008      210     .long 0x8
0038 00000018      211     .long DBG18
003c 00000009      212     .long 0x9
0040 0000001a      213     .long DBG19
0044 0000000a      214     .long 0xa
                   215     .pseg timerb_code
                   216     .global _timerbInit
                   217 _timerbInit:
                   218 ; ENTRY
                   219 DBG12:
                   220 ; {
                   221 DBG13:
                   222 ;   TBCTL = (0x0100)  + (0x0004) ;                    
                   223 DBG14:
0000 40b201040180  224     mov #0x104,&0x180
                   225 DBG15:
                   226 ;   TBCCTL1 = (3*0x20) ;                         
0006 40b200600184  227     mov #0x60,&0x184
                   228 DBG16:
                   229 ;   TBCCR0 = 2048; 
000c 40b208000192  230     mov #0x800,&0x192
                   231 DBG17:
                   232 ;   TBCCR1 = 1536;                              
0012 40b206000194  233     mov #0x600,&0x194
                   234 DBG18:
                   235 ;   return 0;
0018 430c          236     mov #0x0,r12
                   237 DBG20:
                   238 DBG19:
                   239 ; EXIT
001a 4130          240     ret
                   241     .dbgseg dbg_syms
0078 00000000      242     .long 0x0
007c 00000004      243     .long DBG21
0080 00000000      244     .long 0x0
0084 00000000      245     .long 0x0
0088 00010002      246     .long 0x10002
008c 00000000      247     .long 0x0
0090 00000028      248     .long DBG22
0094 00000002      249     .long 0x2
0098 00000000      250     .long 0x0
009c 00010002      251     .long 0x10002
00a0 0066652e      252     .long 0x66652e
00a4 00000000      253     .long 0x0
00a8 0000001a      254     .long DBG20
00ac 00000000      255     .long 0x0
00b0 01650001      256     .long 0x1650001
00b4 00000000      257     .long 0x0
00b8 00000012      258     .long 0x12
00bc 00000000      259     .long 0x0
00c0 00000000      260     .long 0x0
00c4 00000000      261     .long 0x0
                   262     .pseg timerb_code
                   263 DBG7:
                   264     .dbgseg dbg_syms
00c8 00000000      265     .long 0x0
00cc 0000003c      266     .long DBG10
00d0 0000001c      267     .long DBG7
00d4 00000000      268     .long 0x0
00d8 00ff0001      269     .long 0xff0001
                   270 ; }
                   271 ; void timerbStart(void)
                   272 DBG6:
00dc 00000000      273     .long 0x0
00e0 0000001c      274     .long DBG27
00e4 0000001c      275     .long _timerbStart
00e8 00000040      276     .long 0x40
00ec 01020001      277     .long 0x1020001
00f0 00000104      278     .long DBG11
00f4 00000008      279     .long DBG24-DBG25
00f8 00000048      280     .long DBG26
00fc 00000190      281     .long DBG23
0100 00000000      282     .long 0x0
                   283     .pseg timerb_code
                   284 DBG25:
                   285     .dbgseg dbg_syms
                   286 DBG11:
0104 0066622e      287     .long 0x66622e
0108 00000000      288     .long 0x0
010c 0000001c      289     .long DBG25
0110 00000000      290     .long 0x0
0114 01650001      291     .long 0x1650001
0118 00000000      292     .long 0x0
011c 00000014      293     .long 0x14
0120 00000000      294     .long 0x0
0124 000001b8      295     .long DBG28
0128 00000000      296     .long 0x0
                   297     .dbgseg dbg_line
                   298 DBG26:
0048 000000dc      299     .long DBG6
004c 00000000      300     .long 0x0
0050 0000001c      301     .long _timerbStart
0054 00000001      302     .long 0x1
0058 0000001c      303     .long DBG30
005c 00000002      304     .long 0x2
0060 0000001c      305     .long DBG31
0064 00000003      306     .long 0x3
0068 00000022      307     .long DBG32
006c 00000004      308     .long 0x4
                   309     .pseg timerb_code
                   310     .global _timerbStart
                   311 _timerbStart:
                   312 ; ENTRY
                   313 DBG29:
                   314 ; {
                   315 DBG30:
                   316 ;   TBCTL |= (0x0010) ;                               
                   317 DBG31:
001c d0b200100180  318     bis #0x10,&0x180
                   319 DBG33:
                   320 DBG32:
                   321 ; EXIT
0022 4130          322     ret
                   323     .dbgseg dbg_syms
012c 00000000      324     .long 0x0
0130 00000004      325     .long DBG21
0134 00000000      326     .long 0x0
0138 00000000      327     .long 0x0
013c 00010002      328     .long 0x10002
0140 00000000      329     .long 0x0
0144 00000028      330     .long DBG22
0148 00000002      331     .long 0x2
014c 00000000      332     .long 0x0
0150 00010002      333     .long 0x10002
0154 0066652e      334     .long 0x66652e
0158 00000000      335     .long 0x0
015c 00000022      336     .long DBG33
0160 00000000      337     .long 0x0
0164 01650001      338     .long 0x1650001
0168 00000000      339     .long 0x0
016c 00000017      340     .long 0x17
0170 00000000      341     .long 0x0
0174 00000000      342     .long 0x0
0178 00000000      343     .long 0x0
                   344     .pseg timerb_code
                   345 DBG24:
                   346     .dbgseg dbg_syms
017c 00000000      347     .long 0x0
0180 0000001c      348     .long DBG27
0184 00000024      349     .long DBG24
0188 00000000      350     .long 0x0
018c 00ff0001      351     .long 0xff0001
                   352 ; }
                   353 ; void timerbStop(void)
                   354 DBG23:
0190 00000000      355     .long 0x0
0194 00000010      356     .long DBG38
0198 00000024      357     .long _timerbStop
019c 00000040      358     .long 0x40
01a0 01020001      359     .long 0x1020001
01a4 000001b8      360     .long DBG28
01a8 00000008      361     .long DBG35-DBG36
01ac 00000070      362     .long DBG37
01b0 00000244      363     .long DBG34
01b4 00000000      364     .long 0x0
                   365     .pseg timerb_code
                   366 DBG36:
                   367     .dbgseg dbg_syms
                   368 DBG28:
01b8 0066622e      369     .long 0x66622e
01bc 00000000      370     .long 0x0
01c0 00000024      371     .long DBG36
01c4 00000000      372     .long 0x0
01c8 01650001      373     .long 0x1650001
01cc 00000000      374     .long 0x0
01d0 00000019      375     .long 0x19
01d4 00000000      376     .long 0x0
01d8 00000244      377     .long DBG39
01dc 00000000      378     .long 0x0
                   379     .dbgseg dbg_line
                   380 DBG37:
0070 00000190      381     .long DBG23
0074 00000000      382     .long 0x0
0078 00000024      383     .long _timerbStop
007c 00000001      384     .long 0x1
0080 00000024      385     .long DBG41
0084 00000002      386     .long 0x2
0088 00000024      387     .long DBG42
008c 00000003      388     .long 0x3
0090 0000002a      389     .long DBG43
0094 00000004      390     .long 0x4
                   391     .pseg timerb_code
                   392     .global _timerbStop
                   393 _timerbStop:
                   394 ; ENTRY
                   395 DBG40:
                   396 ; {
                   397 DBG41:
                   398 ;   TBCTL &= ~(0x0030);                         
                   399 DBG42:
0024 f0b2ffcf0180  400     and #0xffcf,&0x180
                   401 DBG44:
                   402 DBG43:
                   403 ; EXIT
002a 4130          404     ret
                   405     .dbgseg dbg_syms
01e0 00000000      406     .long 0x0
01e4 00000004      407     .long DBG21
01e8 00000000      408     .long 0x0
01ec 00000000      409     .long 0x0
01f0 00010002      410     .long 0x10002
01f4 00000000      411     .long 0x0
01f8 00000028      412     .long DBG22
01fc 00000002      413     .long 0x2
0200 00000000      414     .long 0x0
0204 00010002      415     .long 0x10002
0208 0066652e      416     .long 0x66652e
020c 00000000      417     .long 0x0
0210 0000002a      418     .long DBG44
0214 00000000      419     .long 0x0
0218 01650001      420     .long 0x1650001
021c 00000000      421     .long 0x0
0220 0000001c      422     .long 0x1c
0224 00000000      423     .long 0x0
0228 00000000      424     .long 0x0
022c 00000000      425     .long 0x0
                   426     .pseg timerb_code
                   427 DBG35:
                   428     .dbgseg dbg_syms
0230 00000000      429     .long 0x0
0234 00000010      430     .long DBG38
0238 0000002c      431     .long DBG35
023c 00000000      432     .long 0x0
0240 00ff0001      433     .long 0xff0001
                   434 ; }
                   435 DBG39:
                   436 DBG2:
                   437 DBG34:
                   438 DBG4:
0244 00007073      439     .long 0x7073
0248 00000000      440     .long 0x0
024c 00000001      441     .long 0x1
0250 00000000      442     .long 0x0
0254 016cfffe      443     .long 0x16cfffe
0258 00000000      444     .long 0x0
025c 00100001      445     .long 0x100001
0260 00000000      446     .long 0x0
0264 00000000      447     .long 0x0
0268 00000000      448     .long 0x0
026c 00000052      449     .long 0x52
0270 00000000      450     .long 0x0
0274 00000002      451     .long 0x2
0278 00000000      452     .long 0x0
027c 016cfffe      453     .long 0x16cfffe
0280 00000000      454     .long 0x0
0284 00100010      455     .long 0x100010
0288 00000000      456     .long 0x0
028c 00000000      457     .long 0x0
0290 00000000      458     .long 0x0
0294 6c6f6f62      459     .long 0x6c6f6f62
0298 006e6165      460     .long 0x6e6165
029c 00000000      461     .long 0x0
02a0 00000004      462     .long 0x4
02a4 000dfffe      463     .long 0xdfffe
02a8 666f652e      464     .long 0x666f652e
02ac 00000000      465     .long 0x0
02b0 00000000      466     .long 0x0
02b4 00000000      467     .long 0x0
02b8 0067fffe      468     .long 0x67fffe
                   469     .dbgseg dbg_strs
0000               470     .align 0x2
0000 0000005c      471     .long 0x5c
                   472 DBG21:
0004 5f5f4652      473     .long 0x5f5f4652
0008 414d4553      474     .long 0x414d4553
000c 495a4500      475     .long 0x495a4500
                   476 DBG38:
0010 74696d65      477     .long 0x74696d65
0014 72625374      478     .long 0x72625374
0018 6f700000      479     .long 0x6f700000
                   480 DBG27:
001c 74696d65      481     .long 0x74696d65
0020 72625374      482     .long 0x72625374
0024 61727400      483     .long 0x61727400
                   484 DBG22:
0028 5f5f5341      485     .long 0x5f5f5341
002c 5645445f      486     .long 0x5645445f
0030 41524753      487     .long 0x41524753
0034 5f53495a      488     .long 0x5f53495a
0038 45000000      489     .long 0x45000000
                   490 DBG10:
003c 74696d65      491     .long 0x74696d65
0040 7262496e      492     .long 0x7262496e
0044 69740000      493     .long 0x69740000
                   494 DBG5:
0048 453a5c6d      495     .long 0x453a5c6d
004c 6d637266      496     .long 0x6d637266
0050 696f5c74      497     .long 0x696f5c74
0054 696d6572      498     .long 0x696d6572
0058 622e6300      499     .long 0x622e6300
