Archelon msp430 Assembler     Version 1.55 2004/01/08      File E:\mmcrfio\init.asm      Page 1

                     1 ; Archelon URCC C 3.17 2004/01/12
                     2 ; MSP430 CIF 2003/10/23
                     3 ; Compiled "E:\mmcrfio\init.c" Fri Mar 12 11:09:14 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 00000020       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 unsigned int size_t;
                   162 ; size_t size 2
                   163 ; typedef void *va_list;
                   164 ; va_list size 2
                   165 ; typedef struct {
                   166 ;   unsigned char *_base;
                   167 ;   unsigned char *_end;
                   168 ;   unsigned char *_ptr;
                   169 ;   long int       _seek;
                   170 ;   int            _cnt;
                   171 ;   short          _flag;
                   172 ;   char           _file;
                   173 ;   unsigned char  _nbf;
                   174 ; } FILE;
                   175 ; FILE size 16
                   176 ; int    sprintf( char *, const char *, ... );
                   177 ; int    sscanf( const char *, const char *, ... );
                   178 ; int    vsprintf( char *, const char *, va_list );
                   179 ; typedef int boolean;
                   180 ; boolean size 2
                   181 ; enum {false = 0, true = 1};
                   182 ; enum {error = -1, success = 0};
                   183 ; int outfmtInit(void);
                   184 ; void outfmtSendAlarmInfo(int type, unsigned char alarms);
                   185 ; void outfmtSendPrompt(void);
                   186 ; void outfmtSendCrLf(void);
                   187 ; void outfmtSendVersion(char *);
                   188 ; void outfmtSendData(void);
                   189 ; void outfmtSendLevels(void);
                   190 ; void outfmtSendTime(int, int, int);
                   191 ; void outfmtSendDate(int, int, int);
                   192 ; void outfmtSendError(int);
                   193 ; int outfmtGetBuffer(char **, int *);
                   194 ; int outfmtSendBuffer(void);
                   195 ; typedef void (*eventHandler)(void);
                   196 ; eventHandler size 2
                   197 ; int eventqInit(void);
                   198 ; void eventqPut(int);
                   199 ; void eventqUrgentPut(int);
                   200 ; int eventqGet(void);
                   201 ; int eventqRegisterHandler(int evType, eventHandler handler);
                   202 ; int eventqGetHandler(int evType, eventHandler *pHandler);
                   203 ; void eventqProcessEvents(void);
                   204 ; typedef int (*commandHandler)(char *);
                   205 ; commandHandler size 2
                   206 ; int cmdparseInit(void);
                   207 ; void cmdparseShow(void);
                   208 ; int cmdparseAddCommand(char * pCmdStr, char * pSubCmdStr, commandHandler handler);
                   209 ; int cmdparseDoCommand(char * pCmdStr);
                   210 ; int cmdprocInit(void);
                   211 ; void cmdprocAccumulateChExt(char);
                   212 ; int versionInit(void);
                   213 ; void gpioInit(void);
                   214 ; void gpioSetLed(boolean);
                   215 ; void gpioSetAttn(boolean);
                   216 ; void gpioSetHiSide(boolean);
                   217 ; void gpioSetGfTest(boolean);
                   218 ; void gpioSetKvhPower(boolean);
                   219 ; void watchdogInit(void);
                   220 ; void rtcInit(void);
                   221 ; int pollInit(void);
                   222 ; void pollPeriodicTick(void);
                   223 ; typedef int (*sensorSampleMethod)(float *);
                   224 ; sensorSampleMethod size 2
                   225 ; typedef struct {
                   226 ;   unsigned char curState;
                   227 ;   unsigned char prevState;
                   228 ;   unsigned char flags;
                   229 ;   float levelHi;
                   230 ;   float levelLo;
                   231 ;   float lastValue;
                   232 ;   sensorSampleMethod method;
                   233 ; } sensorState;
                   234 ; sensorState size 18
                   235 ; int sensorInit(void);
                   236 ; int sensorRegisterSampleMethod(int sensorId, unsigned char flags, sensorSampleMethod method);
                   237 ; int sensorGetData(int sensorId, float * pValue);
                   238 ; int sensorGetLevel(int levelId, float * pLevel);
                   239 ; int sensorSetLevel(int levelId, float level);
                   240 ; int sensorTriggerAlarm(int sensorId);
                   241 ; typedef struct Timer {
                   242 ;   struct Timer *next;
                   243 ;   unsigned char flags;
                   244 ;   int period; 
                   245 ;   int delay; 
                   246 ;   int evType;
                   247 ;   } Timer, *pTimer;
                   248 ; Timer size 10
                   249 ; pTimer size 2
                   250 ; int timerInit(void);
                   251 ; pTimer timerCreate(unsigned char flags, int period, int evType);
                   252 ; void timerModify(pTimer modTimer, unsigned char flags, int period);
                   253 ; void timerCancel(pTimer cancelTimer);
                   254 ; int timerGetPeriodMs(void);
                   255 ; void timerShow(void);
                   256 ; int usart0Init(boolean spiMode);
                   257 ; boolean usart0GetTxIntEnable(void);
                   258 ; int usart0TxOne(char txCh);
                   259 ; int usart0RxOne(char *pRxCh);
                   260 ; int usart1Init(boolean spiMode);
                   261 ; boolean usart1GetTxIntEnable(void);
                   262 ; int usart1TxOne(char txCh);
                   263 ; int usart1RxOne(char *pRxCh);
                   264 ; void adc12Init(void);
                   265 ; int adc12ScanEnable(void);
                   266 ; int adc12ScanDisable(void);
                   267 ; int adc12GetKvh(unsigned int *pResult);
                   268 ; int adc12GetGfiHi(unsigned int *pResult);
                   269 ; int adc12GetGfiLo(unsigned int *pResult);
                   270 ; int timerbInit(void);
                   271 ; void timerbStart(void);
                   272 ; void timerbStop(void);
                   273 ; void SHT11_Init(void);
                   274 ; int SHT11_Temperature_In_Celsius(float* measurement);
                   275 ; int SHT11_Temperature_In_Fahrenheit(float* measurement);
                   276 ; int SHT11_True_Relative_Humidity(float* measurement, float temperature_in_celsius);
                   277 ; void SHT11_Init(void);
                   278 ; int SHT11_Temperature_In_Celsius(float* measurement);
                   279 ; int SHT11_Temperature_In_Fahrenheit(float* measurement);
                   280 ; int SHT11_True_Relative_Humidity(float* measurement, float temperature_in_celsius);
                   281 ; void M5535A_Init(void);
                   282 ; int M5535A_Pressure(float *pressure);
                   283 ; int gfiInit(void);
                   284 ; void kvhInit(void);
                   285 ; extern void skelSensorInit(int);
                   286 ; void processCommand(void);
                   287 ; void hwInit(void) 
                   288 DBG3:
0028 6e497768      289     .long 0x6e497768
002c 00007469      290     .long 0x7469
0030 00000000      291     .long _hwInit
0034 00000040      292     .long 0x40
0038 01020001      293     .long 0x1020001
003c 00000050      294     .long DBG1
0040 00000030      295     .long DBG7-DBG8
0044 00000000      296     .long DBG9
0048 00000140      297     .long DBG6
004c 00000000      298     .long 0x0
                   299     .pseg init_code
                   300 DBG8:
                   301     .dbgseg dbg_syms
                   302 DBG1:
0050 0066622e      303     .long 0x66622e
0054 00000000      304     .long 0x0
0058 00000000      305     .long DBG8
005c 00000000      306     .long 0x0
0060 01650001      307     .long 0x1650001
0064 00000000      308     .long 0x0
0068 00000031      309     .long 0x31
006c 00000000      310     .long 0x0
0070 00000168      311     .long DBG10
0074 00000000      312     .long 0x0
                   313     .dbgseg dbg_line
0000               314     .align 0x2
                   315 DBG9:
0000 00000028      316     .long DBG3
0004 00000000      317     .long 0x0
0008 00000000      318     .long _hwInit
000c 00000001      319     .long 0x1
0010 00000000      320     .long DBG12
0014 00000002      321     .long 0x2
0018 00000000      322     .long DBG13
001c 00000005      323     .long 0x5
0020 00000006      324     .long DBG14
0024 00000006      325     .long 0x6
0028 00000012      326     .long DBG15
002c 00000008      327     .long 0x8
0030 00000012      328     .long DBG17
0034 00000009      329     .long 0x9
0038 00000016      330     .long DBG18
003c 0000000a      331     .long 0xa
0040 00000022      332     .long DBG19
0044 0000000b      333     .long 0xb
0048 00000028      334     .long DBG20
004c 0000000d      335     .long 0xd
0050 0000002e      336     .long DBG21
0054 0000000f      337     .long 0xf
                   338     .pseg init_code
                   339     .global _hwInit
                   340 _hwInit:
                   341 ; ENTRY
                   342 DBG11:
                   343 ; i in reg  size 2
                   344 ; {
                   345 DBG12:
                   346 ;   int i;
                   347 ;   WDTCTL = (0x5A00)  + (0x0080) ;             
                   348 DBG13:
0000 40b25a800120  349     mov #0x5a80,&0x120
                   350 DBG14:
                   351 ;   BCSCTL1 &= ~ (0x80) ;                   
0006 425c0057      352     mov.b   &0x57,r12
000a f03cff7f      353     and #-0x81,r12
000e 4cc20057      354     mov.b   r12,&0x57
                   355 DBG15:
                   356 ;   do {
                   357 hwInit_L2:
                   358 DBG16:
                   359 ;     IFG1 &= ~ (0x02) ;                     
                   360 DBG17:
0012 c3e20002      361     bic.b   #0x2,&0x2
                   362 DBG18:
                   363 ;     for (i = 0xFF; i > 0; i--);         
0016 403c00ff      364     mov #0xff,r12
                   365 hwInit_L3:
001a 831c          366     sub #0x1,r12
001c 430d          367     mov #0x0,r13
001e 9c0d          368     cmp r12,r13
0020 3bfc          369     jl  hwInit_L3
                   370 DBG19:
0022 b3e20002      371     bit.b   #0x2,&0x2
0026 23f5          372     jne hwInit_L2
                   373 hwInit_L1:
                   374 ;   } while ((IFG1 & (0x02) ) != 0);        
                   375 ;   BCSCTL2 |= (0x80)  + (0x08) ;              
                   376 DBG20:
0028 d0f200880058  377     bis.b   #0x88,&0x58
                   378 DBG22:
                   379 DBG21:
                   380 ; EXIT
002e 4130          381     ret
                   382     .dbgseg dbg_syms
0078 00000000      383     .long 0x0
007c 00000014      384     .long DBG23
0080 00000000      385     .long 0x0
0084 00000000      386     .long 0x0
0088 00010002      387     .long 0x10002
008c 00000000      388     .long 0x0
0090 00000040      389     .long DBG24
0094 00000002      390     .long 0x2
0098 00000000      391     .long 0x0
009c 00010002      392     .long 0x10002
                   393 DBG2:
00a0 0062622e      394     .long 0x62622e
00a4 00000000      395     .long 0x0
00a8 00000022      396     .long DBG19
00ac 00000000      397     .long 0x0
00b0 01640001      398     .long 0x1640001
00b4 00000000      399     .long 0x0
00b8 0000000b      400     .long 0xb
00bc 00000000      401     .long 0x0
00c0 00000488      402     .long DBG25
00c4 00000000      403     .long 0x0
00c8 00000069      404     .long 0x69
00cc 00000000      405     .long 0x0
00d0 000c0102      406     .long 0xc0102
00d4 00000004      407     .long 0x4
00d8 0004ffff      408     .long 0x4ffff
00dc 0062652e      409     .long 0x62652e
00e0 00000000      410     .long 0x0
00e4 0000002e      411     .long DBG21
00e8 00000000      412     .long 0x0
00ec 01640001      413     .long 0x1640001
00f0 00000000      414     .long 0x0
00f4 0000000f      415     .long 0xf
00f8 00000000      416     .long 0x0
00fc 00000000      417     .long 0x0
0100 00000000      418     .long 0x0
0104 0066652e      419     .long 0x66652e
0108 00000000      420     .long 0x0
010c 0000002e      421     .long DBG22
0110 00000000      422     .long 0x0
0114 01650001      423     .long 0x1650001
0118 00000000      424     .long 0x0
011c 0000003f      425     .long 0x3f
0120 00000000      426     .long 0x0
0124 00000000      427     .long 0x0
0128 00000000      428     .long 0x0
                   429     .pseg init_code
                   430 DBG7:
                   431     .dbgseg dbg_syms
012c 6e497768      432     .long 0x6e497768
0130 00007469      433     .long 0x7469
0134 00000030      434     .long DBG7
0138 00000000      435     .long 0x0
013c 00ff0001      436     .long 0xff0001
                   437 ; }
                   438 ; void main(void)
                   439 DBG6:
0140 6e69616d      440     .long 0x6e69616d
0144 00000000      441     .long 0x0
0148 00000030      442     .long _main
014c 00000040      443     .long 0x40
0150 01020001      444     .long 0x1020001
0154 00000168      445     .long DBG10
0158 00000064      446     .long DBG27-DBG28
015c 00000058      447     .long DBG29
0160 00000488      448     .long DBG26
0164 00000000      449     .long 0x0
                   450     .pseg init_code
                   451 DBG28:
                   452     .dbgseg dbg_syms
                   453 DBG10:
0168 0066622e      454     .long 0x66622e
016c 00000000      455     .long 0x0
0170 00000030      456     .long DBG28
0174 00000000      457     .long 0x0
0178 01650001      458     .long 0x1650001
017c 00000000      459     .long 0x0
0180 00000041      460     .long 0x41
0184 00000000      461     .long 0x0
0188 00000488      462     .long DBG30
018c 00000000      463     .long 0x0
                   464     .dbgseg dbg_line
                   465 DBG29:
0058 00000140      466     .long DBG6
005c 00000000      467     .long 0x0
0060 00000030      468     .long _main
0064 00000001      469     .long 0x1
0068 00000030      470     .long DBG32
006c 00000002      471     .long 0x2
0070 00000030      472     .long DBG33
0074 00000006      473     .long 0x6
0078 00000034      474     .long DBG34
007c 00000007      475     .long 0x7
0080 00000038      476     .long DBG35
0084 00000008      477     .long 0x8
0088 0000003c      478     .long DBG36
008c 00000009      479     .long 0x9
0090 00000044      480     .long DBG37
0094 0000000b      481     .long 0xb
0098 0000004a      482     .long DBG38
009c 0000000d      483     .long 0xd
00a0 0000004e      484     .long DBG39
00a4 0000000e      485     .long 0xe
00a8 00000052      486     .long DBG40
00ac 0000000f      487     .long 0xf
00b0 00000056      488     .long DBG41
00b4 00000010      489     .long 0x10
00b8 0000005a      490     .long DBG42
00bc 00000011      491     .long 0x11
00c0 0000005e      492     .long DBG43
00c4 00000012      493     .long 0x12
00c8 00000062      494     .long DBG44
00cc 00000013      495     .long 0x13
00d0 00000066      496     .long DBG45
00d4 0000001a      497     .long 0x1a
00d8 0000006a      498     .long DBG46
00dc 0000001b      499     .long 0x1b
00e0 0000006e      500     .long DBG47
00e4 0000001f      501     .long 0x1f
00e8 00000072      502     .long DBG48
00ec 00000023      503     .long 0x23
00f0 00000076      504     .long DBG49
00f4 00000027      505     .long 0x27
00f8 0000007a      506     .long DBG50
00fc 00000028      507     .long 0x28
0100 0000007e      508     .long DBG51
0104 00000029      509     .long 0x29
0108 00000082      510     .long DBG52
010c 0000002c      511     .long 0x2c
0110 00000086      512     .long DBG53
0114 0000002e      513     .long 0x2e
0118 0000008a      514     .long DBG54
011c 00000030      515     .long 0x30
0120 0000008a      516     .long DBG56
0124 00000031      517     .long 0x31
0128 0000008e      518     .long DBG57
012c 00000036      519     .long 0x36
0130 00000090      520     .long DBG58
0134 00000039      521     .long 0x39
                   522     .pseg init_code
                   523     .global _main
                   524 _main:
                   525 ; ENTRY
                   526 DBG31:
                   527 ; {
                   528 DBG32:
                   529 ;   int dummy;
                   530 ;   hwInit();
                   531 DBG33:
0030 12b00000      532     call    #_hwInit
                   533 DBG34:
                   534 ;   gpioInit();
0034 12b00000      535     call    #_gpioInit
                   536 DBG35:
                   537 ;   eventqInit();
0038 12b00000      538     call    #_eventqInit
                   539 DBG36:
                   540 ;   usart0Init(false);
003c 4304          541     mov #0x0,r4
003e 440c          542     mov r4,r12
0040 12b00000      543     call    #_usart0Init
                   544 DBG37:
                   545 ;   usart1Init(false);
0044 440c          546     mov r4,r12
0046 12b00000      547     call    #_usart1Init
                   548 DBG38:
                   549 ;   cmdprocInit();
004a 12b00000      550     call    #_cmdprocInit
                   551 DBG39:
                   552 ;   cmdparseInit();
004e 12b00000      553     call    #_cmdparseInit
                   554 DBG40:
                   555 ;   outfmtInit();
0052 12b00000      556     call    #_outfmtInit
                   557 DBG41:
                   558 ;   versionInit();
0056 12b00000      559     call    #_versionInit
                   560 DBG42:
                   561 ;   watchdogInit();
005a 12b00000      562     call    #_watchdogInit
                   563 DBG43:
                   564 ;   timerInit();
005e 12b00000      565     call    #_timerInit
                   566 DBG44:
                   567 ;   sensorInit();
0062 12b00000      568     call    #_sensorInit
                   569 DBG45:
                   570 ;   SHT11_Init();
0066 12b00000      571     call    #_SHT11_Init
                   572 DBG46:
                   573 ;   M5535A_Init();
006a 12b00000      574     call    #_M5535A_Init
                   575 DBG47:
                   576 ;   kvhInit();
006e 12b00000      577     call    #_kvhInit
                   578 DBG48:
                   579 ;   gfiInit();
0072 12b00000      580     call    #_gfiInit
                   581 DBG49:
                   582 ;   adc12Init();
0076 12b00000      583     call    #_adc12Init
                   584 DBG50:
                   585 ;   timerbInit();
007a 12b00000      586     call    #_timerbInit
                   587 DBG51:
                   588 ;   adc12ScanEnable();
007e 12b00000      589     call    #_adc12ScanEnable
                   590 DBG52:
                   591 ;   pollInit();
0082 12b00000      592     call    #_pollInit
                   593 DBG53:
                   594 ;   outfmtSendPrompt();
0086 12b00000      595     call    #_outfmtSendPrompt
                   596 DBG54:
                   597 ;   while(1) {
                   598 main_L1:
                   599 DBG55:
                   600 ;     eventqProcessEvents();
                   601 DBG56:
008a 12b00000      602     call    #_eventqProcessEvents
                   603 DBG57:
                   604 ;     _NOP();
008e 4303          605     nop
                   606 DBG58:
0090 3ffc          607     jmp main_L1
                   608 DBG61:
                   609 DBG60:
                   610 ; EXIT
                   611 ; .temp0 at stkloc 0 (0x0) size 2
0092 4130          612     ret
                   613     .dbgseg dbg_syms
0190 00000000      614     .long 0x0
0194 00000014      615     .long DBG23
0198 00000002      616     .long 0x2
019c 00000000      617     .long 0x0
01a0 00010002      618     .long 0x10002
01a4 00000000      619     .long 0x0
01a8 00000040      620     .long DBG24
01ac 00000002      621     .long 0x2
01b0 00000000      622     .long 0x0
01b4 00010002      623     .long 0x10002
01b8 0066652e      624     .long 0x66652e
01bc 00000000      625     .long 0x0
01c0 00000092      626     .long DBG61
01c4 00000000      627     .long 0x0
01c8 01650001      628     .long 0x1650001
01cc 00000000      629     .long 0x0
01d0 0000007a      630     .long 0x7a
01d4 00000000      631     .long 0x0
01d8 00000000      632     .long 0x0
01dc 00000000      633     .long 0x0
                   634     .pseg init_code
                   635 DBG27:
                   636     .dbgseg dbg_syms
01e0 6e69616d      637     .long 0x6e69616d
01e4 00000000      638     .long 0x0
01e8 00000094      639     .long DBG27
01ec 00000000      640     .long 0x0
01f0 00ff0001      641     .long 0xff0001
                   642 ; }
                   643 ; ****** Warning: Symbol ``dummy'' (function main) was defined, but not used
                   644     .extern _gpioInit
                   645     .extern _cmdparseInit
                   646     .extern _SHT11_Init
                   647     .extern _watchdogInit
                   648     .extern _eventqProcessEvents
                   649     .extern _eventqInit
                   650     .extern _gfiInit
                   651     .extern _pollInit
                   652     .extern _outfmtSendPrompt
                   653     .extern _sensorInit
                   654     .extern _M5535A_Init
                   655     .extern _usart0Init
                   656     .extern _outfmtInit
                   657     .extern _usart1Init
                   658     .extern _timerInit
                   659     .extern _timerbInit
                   660     .extern _adc12ScanEnable
                   661     .extern _versionInit
                   662     .extern _cmdprocInit
                   663     .extern _kvhInit
                   664     .extern _adc12Init
                   665 .0fake_1:
                   666 DBG4:
01f4 6166302e      667     .long 0x6166302e
01f8 315f656b      668     .long 0x315f656b
01fc 00000000      669     .long 0x0
0200 00000008      670     .long 0x8
0204 010afffe      671     .long 0x10afffe
0208 00000000      672     .long 0x0
020c 00100000      673     .long 0x100000
0210 00000000      674     .long 0x0
0214 000002e4      675     .long DBG62
0218 00000000      676     .long 0x0
021c 7361625f      677     .long 0x7361625f
0220 00000065      678     .long 0x65
0224 00000000      679     .long 0x0
0228 0000002c      680     .long 0x2c
022c 0008ffff      681     .long 0x8ffff
0230 646e655f      682     .long 0x646e655f
0234 00000000      683     .long 0x0
0238 00000002      684     .long 0x2
023c 0000002c      685     .long 0x2c
0240 0008ffff      686     .long 0x8ffff
0244 7274705f      687     .long 0x7274705f
0248 00000000      688     .long 0x0
024c 00000004      689     .long 0x4
0250 0000002c      690     .long 0x2c
0254 0008ffff      691     .long 0x8ffff
0258 6565735f      692     .long 0x6565735f
025c 0000006b      693     .long 0x6b
0260 00000006      694     .long 0x6
0264 00000005      695     .long 0x5
0268 0008ffff      696     .long 0x8ffff
026c 746e635f      697     .long 0x746e635f
0270 00000000      698     .long 0x0
0274 0000000a      699     .long 0xa
0278 00000004      700     .long 0x4
027c 0008ffff      701     .long 0x8ffff
0280 616c665f      702     .long 0x616c665f
0284 00000067      703     .long 0x67
0288 0000000c      704     .long 0xc
028c 00000003      705     .long 0x3
0290 0008ffff      706     .long 0x8ffff
0294 6c69665f      707     .long 0x6c69665f
0298 00000065      708     .long 0x65
029c 0000000e      709     .long 0xe
02a0 00000002      710     .long 0x2
02a4 0008ffff      711     .long 0x8ffff
02a8 66626e5f      712     .long 0x66626e5f
02ac 00000000      713     .long 0x0
02b0 0000000f      714     .long 0xf
02b4 0000000c      715     .long 0xc
02b8 0008ffff      716     .long 0x8ffff
02bc 736f652e      717     .long 0x736f652e
02c0 00000000      718     .long 0x0
02c4 00000010      719     .long 0x10
02c8 00000000      720     .long 0x0
02cc 0166ffff      721     .long 0x166ffff
02d0 000001f4      722     .long DBG4
02d4 00100000      723     .long 0x100000
02d8 00000000      724     .long 0x0
02dc 00000000      725     .long 0x0
02e0 00000000      726     .long 0x0
                   727 Timer_2:
                   728 DBG62:
02e4 656d6954      729     .long 0x656d6954
02e8 00325f72      730     .long 0x325f72
02ec 00000000      731     .long 0x0
02f0 00000008      732     .long 0x8
02f4 010afffe      733     .long 0x10afffe
02f8 00000000      734     .long 0x0
02fc 000a0000      735     .long 0xa0000
0300 00000000      736     .long 0x0
0304 000003ac      737     .long DBG63
0308 00000000      738     .long 0x0
030c 7478656e      739     .long 0x7478656e
0310 00000000      740     .long 0x0
0314 00000000      741     .long 0x0
0318 00000028      742     .long 0x28
031c 0108ffff      743     .long 0x108ffff
0320 000002e4      744     .long Timer_2
0324 0000000a      745     .long 0xa
0328 00000000      746     .long 0x0
032c 00000000      747     .long 0x0
0330 00000000      748     .long 0x0
0334 67616c66      749     .long 0x67616c66
0338 00000073      750     .long 0x73
033c 00000002      751     .long 0x2
0340 0000000c      752     .long 0xc
0344 0008ffff      753     .long 0x8ffff
0348 69726570      754     .long 0x69726570
034c 0000646f      755     .long 0x646f
0350 00000004      756     .long 0x4
0354 00000004      757     .long 0x4
0358 0008ffff      758     .long 0x8ffff
035c 616c6564      759     .long 0x616c6564
0360 00000079      760     .long 0x79
0364 00000006      761     .long 0x6
0368 00000004      762     .long 0x4
036c 0008ffff      763     .long 0x8ffff
0370 79547665      764     .long 0x79547665
0374 00006570      765     .long 0x6570
0378 00000008      766     .long 0x8
037c 00000004      767     .long 0x4
0380 0008ffff      768     .long 0x8ffff
0384 736f652e      769     .long 0x736f652e
0388 00000000      770     .long 0x0
038c 0000000a      771     .long 0xa
0390 00000000      772     .long 0x0
0394 0166ffff      773     .long 0x166ffff
0398 000002e4      774     .long DBG62
039c 000a0000      775     .long 0xa0000
03a0 00000000      776     .long 0x0
03a4 00000000      777     .long 0x0
03a8 00000000      778     .long 0x0
                   779 .3fake_3:
                   780 DBG63:
03ac 6166332e      781     .long 0x6166332e
03b0 335f656b      782     .long 0x335f656b
03b4 00000000      783     .long 0x0
03b8 00000008      784     .long 0x8
03bc 010afffe      785     .long 0x10afffe
03c0 00000000      786     .long 0x0
03c4 00120000      787     .long 0x120000
03c8 00000000      788     .long 0x0
03cc 00000488      789     .long DBG64
03d0 00000000      790     .long 0x0
03d4 53727563      791     .long 0x53727563
03d8 65746174      792     .long 0x65746174
03dc 00000000      793     .long 0x0
03e0 0000000c      794     .long 0xc
03e4 0008ffff      795     .long 0x8ffff
03e8 00000000      796     .long 0x0
03ec 00000084      797     .long DBG65
03f0 00000001      798     .long 0x1
03f4 0000000c      799     .long 0xc
03f8 0008ffff      800     .long 0x8ffff
03fc 67616c66      801     .long 0x67616c66
0400 00000073      802     .long 0x73
0404 00000002      803     .long 0x2
0408 0000000c      804     .long 0xc
040c 0008ffff      805     .long 0x8ffff
0410 6576656c      806     .long 0x6576656c
0414 0069486c      807     .long 0x69486c
0418 00000004      808     .long 0x4
041c 00000006      809     .long 0x6
0420 0008ffff      810     .long 0x8ffff
0424 6576656c      811     .long 0x6576656c
0428 006f4c6c      812     .long 0x6f4c6c
042c 00000008      813     .long 0x8
0430 00000006      814     .long 0x6
0434 0008ffff      815     .long 0x8ffff
0438 00000000      816     .long 0x0
043c 00000034      817     .long DBG66
0440 0000000c      818     .long 0xc
0444 00000006      819     .long 0x6
0448 0008ffff      820     .long 0x8ffff
044c 6874656d      821     .long 0x6874656d
0450 0000646f      822     .long 0x646f
0454 00000010      823     .long 0x10
0458 000002a4      824     .long 0x2a4
045c 0008ffff      825     .long 0x8ffff
0460 736f652e      826     .long 0x736f652e
0464 00000000      827     .long 0x0
0468 00000012      828     .long 0x12
046c 00000000      829     .long 0x0
0470 0166ffff      830     .long 0x166ffff
0474 000003ac      831     .long DBG63
0478 00120000      832     .long 0x120000
047c 00000000      833     .long 0x0
0480 00000000      834     .long 0x0
0484 00000000      835     .long 0x0
                   836 DBG30:
                   837 DBG25:
                   838 DBG26:
                   839 DBG64:
0488 00007073      840     .long 0x7073
048c 00000000      841     .long 0x0
0490 00000001      842     .long 0x1
0494 00000000      843     .long 0x0
0498 016cfffe      844     .long 0x16cfffe
049c 00000000      845     .long 0x0
04a0 00100001      846     .long 0x100001
04a4 00000000      847     .long 0x0
04a8 00000000      848     .long 0x0
04ac 00000000      849     .long 0x0
04b0 00000052      850     .long 0x52
04b4 00000000      851     .long 0x0
04b8 00000002      852     .long 0x2
04bc 00000000      853     .long 0x0
04c0 016cfffe      854     .long 0x16cfffe
04c4 00000000      855     .long 0x0
04c8 00100010      856     .long 0x100010
04cc 00000000      857     .long 0x0
04d0 00000000      858     .long 0x0
04d4 00000000      859     .long 0x0
04d8 00000000      860     .long 0x0
04dc 00000004      861     .long DBG67
04e0 00000000      862     .long 0x0
04e4 000002a0      863     .long 0x2a0
04e8 000dfffe      864     .long 0xdfffe
04ec 6c6f6f62      865     .long 0x6c6f6f62
04f0 006e6165      866     .long 0x6e6165
04f4 00000000      867     .long 0x0
04f8 00000004      868     .long 0x4
04fc 000dfffe      869     .long 0xdfffe
0500 454c4946      870     .long 0x454c4946
0504 00000000      871     .long 0x0
0508 00000000      872     .long 0x0
050c 00000008      873     .long 0x8
0510 010dfffe      874     .long 0x10dfffe
0514 000001f4      875     .long .0fake_1
0518 00000010      876     .long 0x10
051c 00000000      877     .long 0x0
0520 00000000      878     .long 0x0
0524 00000000      879     .long 0x0
0528 656d6954      880     .long 0x656d6954
052c 00000072      881     .long 0x72
0530 00000000      882     .long 0x0
0534 00000008      883     .long 0x8
0538 010dfffe      884     .long 0x10dfffe
053c 000002e4      885     .long Timer_2
0540 0000000a      886     .long 0xa
0544 00000000      887     .long 0x0
0548 00000000      888     .long 0x0
054c 00000000      889     .long 0x0
0550 657a6973      890     .long 0x657a6973
0554 0000745f      891     .long 0x745f
0558 00000000      892     .long 0x0
055c 0000000e      893     .long 0xe
0560 000dfffe      894     .long 0xdfffe
0564 6d695470      895     .long 0x6d695470
0568 00007265      896     .long 0x7265
056c 00000000      897     .long 0x0
0570 00000028      898     .long 0x28
0574 010dfffe      899     .long 0x10dfffe
0578 000002e4      900     .long Timer_2
057c 0000000a      901     .long 0xa
0580 00000000      902     .long 0x0
0584 00000000      903     .long 0x0
0588 00000000      904     .long 0x0
058c 6c5f6176      905     .long 0x6c5f6176
0590 00747369      906     .long 0x747369
0594 00000000      907     .long 0x0
0598 00000020      908     .long 0x20
059c 000dfffe      909     .long 0xdfffe
05a0 00000000      910     .long 0x0
05a4 00000054      911     .long DBG68
05a8 00000000      912     .long 0x0
05ac 00000008      913     .long 0x8
05b0 010dfffe      914     .long 0x10dfffe
05b4 000003ac      915     .long .3fake_3
05b8 00000012      916     .long 0x12
05bc 00000000      917     .long 0x0
05c0 00000000      918     .long 0x0
05c4 00000000      919     .long 0x0
05c8 00000000      920     .long 0x0
05cc 00000070      921     .long DBG69
05d0 00000000      922     .long 0x0
05d4 000002a4      923     .long 0x2a4
05d8 000dfffe      924     .long 0xdfffe
05dc 00000000      925     .long 0x0
05e0 00000060      926     .long DBG70
05e4 00000000      927     .long 0x0
05e8 000002a4      928     .long 0x2a4
05ec 000dfffe      929     .long 0xdfffe
05f0 666f652e      930     .long 0x666f652e
05f4 00000000      931     .long 0x0
05f8 00000000      932     .long 0x0
05fc 00000000      933     .long 0x0
0600 0067fffe      934     .long 0x67fffe
                   935     .dbgseg dbg_strs
0000               936     .align 0x2
0000 00000090      937     .long 0x90
                   938 DBG67:
0004 6576656e      939     .long 0x6576656e
0008 7448616e      940     .long 0x7448616e
000c 646c6572      941     .long 0x646c6572
0010 00000000      942     .long 0x0
                   943 DBG23:
0014 5f5f4652      944     .long 0x5f5f4652
0018 414d4553      945     .long 0x414d4553
001c 495a4500      946     .long 0x495a4500
                   947 DBG5:
0020 453a5c6d      948     .long 0x453a5c6d
0024 6d637266      949     .long 0x6d637266
0028 696f5c69      950     .long 0x696f5c69
002c 6e69742e      951     .long 0x6e69742e
0030 63000000      952     .long 0x63000000
                   953 DBG66:
0034 6c617374      954     .long 0x6c617374
0038 56616c75      955     .long 0x56616c75
003c 65000000      956     .long 0x65000000
                   957 DBG24:
0040 5f5f5341      958     .long 0x5f5f5341
0044 5645445f      959     .long 0x5645445f
0048 41524753      960     .long 0x41524753
004c 5f53495a      961     .long 0x5f53495a
0050 45000000      962     .long 0x45000000
                   963 DBG68:
0054 73656e73      964     .long 0x73656e73
0058 6f725374      965     .long 0x6f725374
005c 61746500      966     .long 0x61746500
                   967 DBG70:
0060 636f6d6d      968     .long 0x636f6d6d
0064 616e6448      969     .long 0x616e6448
0068 616e646c      970     .long 0x616e646c
006c 65720000      971     .long 0x65720000
                   972 DBG69:
0070 73656e73      973     .long 0x73656e73
0074 6f725361      974     .long 0x6f725361
0078 6d706c65      975     .long 0x6d706c65
007c 4d657468      976     .long 0x4d657468
0080 6f640000      977     .long 0x6f640000
                   978 DBG65:
0084 70726576      979     .long 0x70726576
0088 53746174      980     .long 0x53746174
008c 65000000      981     .long 0x65000000
