Archelon msp430 Assembler     Version 2005/07/14      File C:\cygwin\home\headley\svn\MSP430\QUADRA~1\mmcrfio\init.asm      Page 1

                     1 ; Archelon URCC C 3.20 2005/05/27
                     2 ; MSP430 CIF 2005/08/05
                     3 ; Compiled "C:\cygwin\home\headley\svn\MSP430\QUADRA~1\mmcrfio\init.c" Thu Feb 23 15:00:35 2006
                     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 ; __builtin__ short __bcd_add_short(short,short);
                    29 ; __builtin__ long __bcd_add_long(long,long);
                    30 ; __builtin__ long long __bcd_add_long_long( long long, long long );
                    31 ; sfrb    IE1               = (0x0000) ;
                    32 ; sfrb    IFG1              = (0x0002) ;
                    33 ; sfrb    ME1               = (0x0004) ;
                    34 ; sfrb    IE2               = (0x0001) ;
                    35 ; sfrb    IFG2              = (0x0003) ;
                    36 ; sfrb    ME2               = (0x0005) ;
                    37 ; sfrw    WDTCTL            = (0x0120) ;
                    38 ; sfrw    MPY               = (0x0130) ;
                    39 ; sfrw    MPYS              = (0x0132) ;
                    40 ; sfrw    MAC               = (0x0134) ;
                    41 ; sfrw    MACS              = (0x0136) ;
                    42 ; sfrw    OP2               = (0x0138) ;
                    43 ; sfrw    RESLO             = (0x013A) ;
                    44 ; sfrw    RESHI             = (0x013C) ;
                    45 ; const sfrw SUMEXT         = (0x013E) ;
                    46 ; const sfrb P1IN           = (0x0020) ;
                    47 ; sfrb    P1OUT             = (0x0021) ;
                    48 ; sfrb    P1DIR             = (0x0022) ;
                    49 ; sfrb    P1IFG             = (0x0023) ;
                    50 ; sfrb    P1IES             = (0x0024) ;
                    51 ; sfrb    P1IE              = (0x0025) ;
                    52 ; sfrb    P1SEL             = (0x0026) ;
                    53 ; const sfrb P2IN           = (0x0028) ;
                    54 ; sfrb    P2OUT             = (0x0029) ;
                    55 ; sfrb    P2DIR             = (0x002A) ;
                    56 ; sfrb    P2IFG             = (0x002B) ;
                    57 ; sfrb    P2IES             = (0x002C) ;
                    58 ; sfrb    P2IE              = (0x002D) ;
                    59 ; sfrb    P2SEL             = (0x002E) ;
                    60 ; const sfrb P3IN           = (0x0018) ;
                    61 ; sfrb    P3OUT             = (0x0019) ;
                    62 ; sfrb    P3DIR             = (0x001A) ;
                    63 ; sfrb    P3SEL             = (0x001B) ;
                    64 ; const sfrb P4IN           = (0x001C) ;
                    65 ; sfrb    P4OUT             = (0x001D) ;
                    66 ; sfrb    P4DIR             = (0x001E) ;
                    67 ; sfrb    P4SEL             = (0x001F) ;
                    68 ; const sfrb P5IN           = (0x0030) ;
                    69 ; sfrb    P5OUT             = (0x0031) ;
                    70 ; sfrb    P5DIR             = (0x0032) ;
                    71 ; sfrb    P5SEL             = (0x0033) ;
                    72 ; const sfrb P6IN           = (0x0034) ;
                    73 ; sfrb    P6OUT             = (0x0035) ;
                    74 ; sfrb    P6DIR             = (0x0036) ;
                    75 ; sfrb    P6SEL             = (0x0037) ;
                    76 ; sfrb    U0CTL             = (0x0070) ;
                    77 ; sfrb    U0TCTL            = (0x0071) ;
                    78 ; sfrb    U0RCTL            = (0x0072) ;
                    79 ; sfrb    U0MCTL            = (0x0073) ;
                    80 ; sfrb    U0BR0             = (0x0074) ;
                    81 ; sfrb    U0BR1             = (0x0075) ;
                    82 ; const sfrb U0RXBUF        = (0x0076) ;
                    83 ; sfrb    U0TXBUF           = (0x0077) ;
                    84 ; sfrb    U1CTL             = (0x0078) ;
                    85 ; sfrb    U1TCTL            = (0x0079) ;
                    86 ; sfrb    U1RCTL            = (0x007A) ;
                    87 ; sfrb    U1MCTL            = (0x007B) ;
                    88 ; sfrb    U1BR0             = (0x007C) ;
                    89 ; sfrb    U1BR1             = (0x007D) ;
                    90 ; const sfrb U1RXBUF        = (0x007E) ;
                    91 ; sfrb    U1TXBUF           = (0x007F) ;
                    92 ; const sfrw TAIV           = (0x012E) ;
                    93 ; sfrw    TACTL             = (0x0160) ;
                    94 ; sfrw    TACCTL0           = (0x0162) ;
                    95 ; sfrw    TACCTL1           = (0x0164) ;
                    96 ; sfrw    TACCTL2           = (0x0166) ;
                    97 ; sfrw    TAR               = (0x0170) ;
                    98 ; sfrw    TACCR0            = (0x0172) ;
                    99 ; sfrw    TACCR1            = (0x0174) ;
                   100 ; sfrw    TACCR2            = (0x0176) ;
                   101 ; const sfrw TBIV           = (0x011E) ;
                   102 ; sfrw    TBCTL             = (0x0180) ;
                   103 ; sfrw    TBCCTL0           = (0x0182) ;
                   104 ; sfrw    TBCCTL1           = (0x0184) ;
                   105 ; sfrw    TBCCTL2           = (0x0186) ;
                   106 ; sfrw    TBCCTL3           = (0x0188) ;
                   107 ; sfrw    TBCCTL4           = (0x018A) ;
                   108 ; sfrw    TBCCTL5           = (0x018C) ;
                   109 ; sfrw    TBCCTL6           = (0x018E) ;
                   110 ; sfrw    TBR               = (0x0190) ;
                   111 ; sfrw    TBCCR0            = (0x0192) ;
                   112 ; sfrw    TBCCR1            = (0x0194) ;
                   113 ; sfrw    TBCCR2            = (0x0196) ;
                   114 ; sfrw    TBCCR3            = (0x0198) ;
                   115 ; sfrw    TBCCR4            = (0x019A) ;
                   116 ; sfrw    TBCCR5            = (0x019C) ;
                   117 ; sfrw    TBCCR6            = (0x019E) ;
                   118 ; sfrb    DCOCTL            = (0x0056) ;
                   119 ; sfrb    BCSCTL1           = (0x0057) ;
                   120 ; sfrb    BCSCTL2           = (0x0058) ;
                   121 ; sfrw    FCTL1             = (0x0128) ;
                   122 ; sfrw    FCTL2             = (0x012A) ;
                   123 ; sfrw    FCTL3             = (0x012C) ;
                   124 ; sfrb    CACTL1            = (0x0059) ;
                   125 ; sfrb    CACTL2            = (0x005A) ;
                   126 ; sfrb    CAPD              = (0x005B) ;
                   127 ; sfrw    ADC12CTL0         = (0x01A0) ;
                   128 ; sfrw    ADC12CTL1         = (0x01A2) ;
                   129 ; sfrw    ADC12IFG          = (0x01A4) ;
                   130 ; sfrw    ADC12IE           = (0x01A6) ;
                   131 ; sfrw    ADC12IV           = (0x01A8) ;
                   132 ; sfrw    ADC12MEM0         = (0x0140) ;
                   133 ; sfrw    ADC12MEM1         = (0x0142) ;
                   134 ; sfrw    ADC12MEM2         = (0x0144) ;
                   135 ; sfrw    ADC12MEM3         = (0x0146) ;
                   136 ; sfrw    ADC12MEM4         = (0x0148) ;
                   137 ; sfrw    ADC12MEM5         = (0x014A) ;
                   138 ; sfrw    ADC12MEM6         = (0x014C) ;
                   139 ; sfrw    ADC12MEM7         = (0x014E) ;
                   140 ; sfrw    ADC12MEM8         = (0x0150) ;
                   141 ; sfrw    ADC12MEM9         = (0x0152) ;
                   142 ; sfrw    ADC12MEM10        = (0x0154) ;
                   143 ; sfrw    ADC12MEM11        = (0x0156) ;
                   144 ; sfrw    ADC12MEM12        = (0x0158) ;
                   145 ; sfrw    ADC12MEM13        = (0x015A) ;
                   146 ; sfrw    ADC12MEM14        = (0x015C) ;
                   147 ; sfrw    ADC12MEM15        = (0x015E) ;
                   148 ; sfrb    ADC12MCTL0        = (0x0080) ;
                   149 ; sfrb    ADC12MCTL1        = (0x0081) ;
                   150 ; sfrb    ADC12MCTL2        = (0x0082) ;
                   151 ; sfrb    ADC12MCTL3        = (0x0083) ;
                   152 ; sfrb    ADC12MCTL4        = (0x0084) ;
                   153 ; sfrb    ADC12MCTL5        = (0x0085) ;
                   154 ; sfrb    ADC12MCTL6        = (0x0086) ;
                   155 ; sfrb    ADC12MCTL7        = (0x0087) ;
                   156 ; sfrb    ADC12MCTL8        = (0x0088) ;
                   157 ; sfrb    ADC12MCTL9        = (0x0089) ;
                   158 ; sfrb    ADC12MCTL10       = (0x008A) ;
                   159 ; sfrb    ADC12MCTL11       = (0x008B) ;
                   160 ; sfrb    ADC12MCTL12       = (0x008C) ;
                   161 ; sfrb    ADC12MCTL13       = (0x008D) ;
                   162 ; sfrb    ADC12MCTL14       = (0x008E) ;
                   163 ; sfrb    ADC12MCTL15       = (0x008F) ;
                   164 ; typedef unsigned int size_t;
                   165 ; size_t size 2
                   166 ; typedef void *va_list;
                   167 ; va_list size 2
                   168 ; typedef void (*__appendfunc_ptr) (char, void *);
                   169 ; __appendfunc_ptr size 2
                   170 ; typedef struct {
                   171 ;   unsigned char *_base;
                   172 ;   unsigned char *_end;
                   173 ;   unsigned char *_ptr;
                   174 ;   long int       _seek;
                   175 ;   int            _cnt;
                   176 ;   short          _flag;
                   177 ;   char           _file;
                   178 ;   unsigned char  _nbf;
                   179 ; } FILE;
                   180 ; FILE size 16
                   181 ; int    sprintf( char *, const char *, ... );
                   182 ; int    snprintf( char *, size_t, const char *, ... );
                   183 ; int    sscanf( const char *, const char *, ... );
                   184 ; int    vsprintf( char *, const char *, va_list );
                   185 ; int    vsnprintf( char *, size_t, const char *, va_list );
                   186 ; int    __vpprintf( __appendfunc_ptr, void *, const char *, va_list );
                   187 ; int    __pprintf( __appendfunc_ptr, void *, const char *, ... );
                   188 ; typedef int boolean;
                   189 ; boolean size 2
                   190 ; enum {false = 0, true = 1};
                   191 ; enum {error = -1, success = 0};
                   192 ; int outfmtInit(void);
                   193 ; void outfmtSendAlarmInfo(int type, unsigned char alarms);
                   194 ; void outfmtSendPrompt(void);
                   195 ; void outfmtSendCrLf(void);
                   196 ; void outfmtSendVersion(char *);
                   197 ; void outfmtSendData(void);
                   198 ; void outfmtSendLevels(void);
                   199 ; void outfmtSendTime(int, int, int);
                   200 ; void outfmtSendDate(int, int, int);
                   201 ; void outfmtSendError(int);
                   202 ; int outfmtGetBuffer(char **, int *);
                   203 ; int outfmtSendBuffer(void);
                   204 ; typedef void (*eventHandler)(void);
                   205 ; eventHandler size 2
                   206 ; int eventqInit(void);
                   207 ; void eventqPut(int);
                   208 ; void eventqUrgentPut(int);
                   209 ; int eventqGet(void);
                   210 ; int eventqRegisterHandler(int evType, eventHandler handler);
                   211 ; int eventqGetHandler(int evType, eventHandler *pHandler);
                   212 ; void eventqProcessEvents(void);
                   213 ; typedef int (*commandHandler)(char *);
                   214 ; commandHandler size 2
                   215 ; int cmdparseInit(void);
                   216 ; void cmdparseShow(void);
                   217 ; int cmdparseAddCommand(char * pCmdStr, char * pSubCmdStr, commandHandler handler);
                   218 ; int cmdparseDoCommand(char * pCmdStr);
                   219 ; int cmdprocInit(void);
                   220 ; void cmdprocAccumulateChExt(char);
                   221 ; int versionInit(void);
                   222 ; void gpioInit(void);
                   223 ; void gpioSetLed(boolean);
                   224 ; void gpioSetAttn(boolean);
                   225 ; void gpioSetHiSide(boolean);
                   226 ; void gpioSetGfTest(boolean);
                   227 ; void gpioSetKvhPower(boolean);
                   228 ; void watchdogInit(void);
                   229 ; void rtcInit(void);
                   230 ; int pollInit(void);
                   231 ; void pollPeriodicTick(void);
                   232 ; typedef int (*sensorSampleMethod)(float *);
                   233 ; sensorSampleMethod size 2
                   234 ; typedef struct {
                   235 ;   unsigned char curState;
                   236 ;   unsigned char prevState;
                   237 ;   unsigned char flags;
                   238 ;   float levelHi;
                   239 ;   float levelLo;
                   240 ;   float lastValue;
                   241 ;   sensorSampleMethod method;
                   242 ; } sensorState;
                   243 ; sensorState size 18
                   244 ; int sensorInit(void);
                   245 ; int sensorRegisterSampleMethod(int sensorId, unsigned char flags, sensorSampleMethod method);
                   246 ; int sensorGetData(int sensorId, float * pValue);
                   247 ; int sensorGetLevel(int levelId, float * pLevel);
                   248 ; int sensorSetLevel(int levelId, float level);
                   249 ; int sensorTriggerAlarm(int sensorId);
                   250 ; typedef struct Timer {
                   251 ;   struct Timer *next;
                   252 ;   unsigned char flags;
                   253 ;   int period; 
                   254 ;   int delay; 
                   255 ;   int evType;
                   256 ;   } Timer, *pTimer;
                   257 ; Timer size 10
                   258 ; pTimer size 2
                   259 ; int timerInit(void);
                   260 ; pTimer timerCreate(unsigned char flags, int period, int evType);
                   261 ; void timerModify(pTimer modTimer, unsigned char flags, int period);
                   262 ; void timerCancel(pTimer cancelTimer);
                   263 ; int timerGetPeriodMs(void);
                   264 ; void timerShow(void);
                   265 ; int usart0Init(boolean spiMode);
                   266 ; boolean usart0GetTxIntEnable(void);
                   267 ; int usart0TxOne(char txCh);
                   268 ; int usart0RxOne(char *pRxCh);
                   269 ; int usart1Init(boolean spiMode);
                   270 ; boolean usart1GetTxIntEnable(void);
                   271 ; int usart1TxOne(char txCh);
                   272 ; int usart1RxOne(char *pRxCh);
                   273 ; void adc12Init(void);
                   274 ; int adc12ScanEnable(void);
                   275 ; int adc12ScanDisable(void);
                   276 ; int adc12GetKvh(unsigned int *pResult);
                   277 ; int adc12GetGfiHi(unsigned int *pResult);
                   278 ; int adc12GetGfiLo(unsigned int *pResult);
                   279 ; int timerbInit(void);
                   280 ; void timerbStart(void);
                   281 ; void timerbStop(void);
                   282 ; void SHT11_Init(void);
                   283 ; int SHT11_Temperature_In_Celsius(float* measurement);
                   284 ; int SHT11_Temperature_In_Fahrenheit(float* measurement);
                   285 ; int SHT11_True_Relative_Humidity(float* measurement, float temperature_in_celsius);
                   286 ; void SHT11_Init(void);
                   287 ; int SHT11_Temperature_In_Celsius(float* measurement);
                   288 ; int SHT11_Temperature_In_Fahrenheit(float* measurement);
                   289 ; int SHT11_True_Relative_Humidity(float* measurement, float temperature_in_celsius);
                   290 ; void M5535A_Init(void);
                   291 ; int M5535A_Pressure(float *pressure);
                   292 ; int gfiInit(void);
                   293 ; void kvhInit(void);
                   294 ; extern void skelSensorInit(int);
                   295 ; void processCommand(void);
                   296 ; void hwInit(void) 
                   297 DBG3:
0028 6e497768      298     .long 0x6e497768
002c 00007469      299     .long 0x7469
0030 00000000      300     .long _hwInit
0034 00000040      301     .long 0x40
0038 01020001      302     .long 0x1020001
003c 00000050      303     .long DBG1
0040 0000002a      304     .long DBG7-DBG8
0044 00000000      305     .long DBG9
0048 00000154      306     .long DBG6
004c 00000000      307     .long 0x0
                   308     .pseg init_code
                   309 DBG8:
                   310     .dbgseg dbg_syms
                   311 DBG1:
0050 0066622e      312     .long 0x66622e
0054 00000000      313     .long 0x0
0058 00000000      314     .long DBG8
005c 00000000      315     .long 0x0
0060 01650001      316     .long 0x1650001
0064 00000000      317     .long 0x0
0068 00000031      318     .long 0x31
006c 00000000      319     .long 0x0
0070 0000017c      320     .long DBG10
0074 00000000      321     .long 0x0
                   322     .dbgseg dbg_line
0000               323     .align 0x2
                   324 DBG9:
0000 00000028      325     .long DBG3
0004 00000000      326     .long 0x0
0008 00000000      327     .long _hwInit
000c 00000001      328     .long 0x1
0010 00000000      329     .long DBG12
0014 00000002      330     .long 0x2
0018 00000000      331     .long DBG13
001c 00000005      332     .long 0x5
0020 00000006      333     .long DBG14
0024 00000006      334     .long 0x6
0028 0000000c      335     .long DBG15
002c 00000008      336     .long 0x8
0030 0000000c      337     .long DBG17
0034 00000009      338     .long 0x9
0038 00000010      339     .long DBG18
003c 0000000a      340     .long 0xa
0040 0000001c      341     .long DBG19
0044 0000000b      342     .long 0xb
0048 00000022      343     .long DBG20
004c 0000000d      344     .long 0xd
0050 00000028      345     .long DBG21
0054 0000000f      346     .long 0xf
                   347     .pseg init_code
                   348     .global _hwInit
                   349 _hwInit:
                   350 ; ENTRY
                   351 DBG11:
                   352 ; i in reg  size 2
                   353 ; {
                   354 DBG12:
                   355 ;   int i;
                   356 ;   WDTCTL = (0x5A00)  + (0x0080) ;             
                   357 DBG13:
0000 b240805a2001  358     mov #0x5a80,&0x120
                   359 DBG14:
                   360 ;   BCSCTL1 &= ~ (0x80) ;                   
0006 f2f07f005700  361     and.b   #0x7f,&0x57
                   362 DBG15:
                   363 ;   do {
                   364 hwInit_L2:
                   365 DBG16:
                   366 ;     IFG1 &= ~ (0x02) ;                     
                   367 DBG17:
000c e2c30200      368     bic.b   #0x2,&0x2
                   369 DBG18:
                   370 ;     for (i = 0xFF; i > 0; i--);         
0010 3c40ff00      371     mov #0xff,r12
                   372 hwInit_L3:
0014 1c83          373     sub #0x1,r12
0016 0d43          374     mov #0x0,r13
0018 0d9c          375     cmp r12,r13
001a fc3b          376     jl  hwInit_L3
                   377 DBG19:
001c e2b30200      378     bit.b   #0x2,&0x2
0020 f523          379     jne hwInit_L2
                   380 hwInit_L1:
                   381 ;   } while ((IFG1 & (0x02) ) != 0);        
                   382 ;   BCSCTL2 |= (0x80)  + (0x08) ;              
                   383 DBG20:
0022 f2d088005800  384     bis.b   #0x88,&0x58
                   385 DBG22:
                   386 DBG21:
                   387 ; EXIT
0028 3041          388     ret
                   389     .dbgseg dbg_syms
0078 00000000      390     .long 0x0
007c 00000014      391     .long DBG23
0080 00000000      392     .long 0x0
0084 00000000      393     .long 0x0
0088 00010002      394     .long 0x10002
008c 00000000      395     .long 0x0
0090 0000007c      396     .long DBG24
0094 00000002      397     .long 0x2
0098 00000000      398     .long 0x0
009c 00010002      399     .long 0x10002
00a0 504e5f5f      400     .long 0x504e5f5f
00a4 534d5241      401     .long 0x534d5241
00a8 00000000      402     .long 0x0
00ac 00000000      403     .long 0x0
00b0 00010002      404     .long 0x10002
                   405 DBG2:
00b4 0062622e      406     .long 0x62622e
00b8 00000000      407     .long 0x0
00bc 0000001c      408     .long DBG19
00c0 00000000      409     .long 0x0
00c4 01640001      410     .long 0x1640001
00c8 00000000      411     .long 0x0
00cc 0000000b      412     .long 0xb
00d0 00000000      413     .long 0x0
00d4 000004b0      414     .long DBG25
00d8 00000000      415     .long 0x0
00dc 00000069      416     .long 0x69
00e0 00000000      417     .long 0x0
00e4 000c0102      418     .long 0xc0102
00e8 00000004      419     .long 0x4
00ec 0004ffff      420     .long 0x4ffff
00f0 0062652e      421     .long 0x62652e
00f4 00000000      422     .long 0x0
00f8 00000028      423     .long DBG21
00fc 00000000      424     .long 0x0
0100 01640001      425     .long 0x1640001
0104 00000000      426     .long 0x0
0108 0000000f      427     .long 0xf
010c 00000000      428     .long 0x0
0110 00000000      429     .long 0x0
0114 00000000      430     .long 0x0
0118 0066652e      431     .long 0x66652e
011c 00000000      432     .long 0x0
0120 00000028      433     .long DBG22
0124 00000000      434     .long 0x0
0128 01650001      435     .long 0x1650001
012c 00000000      436     .long 0x0
0130 0000003f      437     .long 0x3f
0134 00000000      438     .long 0x0
0138 00000000      439     .long 0x0
013c 00000000      440     .long 0x0
                   441     .pseg init_code
                   442 DBG7:
                   443     .dbgseg dbg_syms
0140 6e497768      444     .long 0x6e497768
0144 00007469      445     .long 0x7469
0148 0000002a      446     .long DBG7
014c 00000000      447     .long 0x0
0150 00ff0001      448     .long 0xff0001
                   449 ; }
                   450 ; void main(void)
                   451 DBG6:
0154 6e69616d      452     .long 0x6e69616d
0158 00000000      453     .long 0x0
015c 0000002a      454     .long _main
0160 00000040      455     .long 0x40
0164 01020001      456     .long 0x1020001
0168 0000017c      457     .long DBG10
016c 00000064      458     .long DBG27-DBG28
0170 00000058      459     .long DBG29
0174 000004b0      460     .long DBG26
0178 00000000      461     .long 0x0
                   462     .pseg init_code
                   463 DBG28:
                   464     .dbgseg dbg_syms
                   465 DBG10:
017c 0066622e      466     .long 0x66622e
0180 00000000      467     .long 0x0
0184 0000002a      468     .long DBG28
0188 00000000      469     .long 0x0
018c 01650001      470     .long 0x1650001
0190 00000000      471     .long 0x0
0194 00000041      472     .long 0x41
0198 00000000      473     .long 0x0
019c 000004b0      474     .long DBG30
01a0 00000000      475     .long 0x0
                   476     .dbgseg dbg_line
                   477 DBG29:
0058 00000154      478     .long DBG6
005c 00000000      479     .long 0x0
0060 0000002a      480     .long _main
0064 00000001      481     .long 0x1
0068 0000002a      482     .long DBG32
006c 00000002      483     .long 0x2
0070 0000002a      484     .long DBG33
0074 00000006      485     .long 0x6
0078 0000002e      486     .long DBG34
007c 00000007      487     .long 0x7
0080 00000032      488     .long DBG35
0084 00000008      489     .long 0x8
0088 00000036      490     .long DBG36
008c 00000009      491     .long 0x9
0090 0000003e      492     .long DBG37
0094 0000000b      493     .long 0xb
0098 00000044      494     .long DBG38
009c 0000000d      495     .long 0xd
00a0 00000048      496     .long DBG39
00a4 0000000e      497     .long 0xe
00a8 0000004c      498     .long DBG40
00ac 0000000f      499     .long 0xf
00b0 00000050      500     .long DBG41
00b4 00000010      501     .long 0x10
00b8 00000054      502     .long DBG42
00bc 00000011      503     .long 0x11
00c0 00000058      504     .long DBG43
00c4 00000012      505     .long 0x12
00c8 0000005c      506     .long DBG44
00cc 00000013      507     .long 0x13
00d0 00000060      508     .long DBG45
00d4 0000001a      509     .long 0x1a
00d8 00000064      510     .long DBG46
00dc 0000001b      511     .long 0x1b
00e0 00000068      512     .long DBG47
00e4 0000001f      513     .long 0x1f
00e8 0000006c      514     .long DBG48
00ec 00000023      515     .long 0x23
00f0 00000070      516     .long DBG49
00f4 00000027      517     .long 0x27
00f8 00000074      518     .long DBG50
00fc 00000028      519     .long 0x28
0100 00000078      520     .long DBG51
0104 00000029      521     .long 0x29
0108 0000007c      522     .long DBG52
010c 0000002c      523     .long 0x2c
0110 00000080      524     .long DBG53
0114 0000002e      525     .long 0x2e
0118 00000084      526     .long DBG54
011c 00000030      527     .long 0x30
0120 00000084      528     .long DBG56
0124 00000031      529     .long 0x31
0128 00000088      530     .long DBG57
012c 00000036      531     .long 0x36
0130 0000008a      532     .long DBG58
0134 00000039      533     .long 0x39
                   534     .pseg init_code
                   535     .global _main
                   536 _main:
                   537 ; ENTRY
                   538 DBG31:
                   539 ; {
                   540 DBG32:
                   541 ;   int dummy;
                   542 ;   hwInit();
                   543 DBG33:
002a b0120000      544     call    #_hwInit
                   545 DBG34:
                   546 ;   gpioInit();
002e b0120000      547     call    #_gpioInit
                   548 DBG35:
                   549 ;   eventqInit();
0032 b0120000      550     call    #_eventqInit
                   551 DBG36:
                   552 ;   usart0Init(false);
0036 0443          553     mov #0x0,r4
0038 0c44          554     mov r4,r12
003a b0120000      555     call    #_usart0Init
                   556 DBG37:
                   557 ;   usart1Init(false);
003e 0c44          558     mov r4,r12
0040 b0120000      559     call    #_usart1Init
                   560 DBG38:
                   561 ;   cmdprocInit();
0044 b0120000      562     call    #_cmdprocInit
                   563 DBG39:
                   564 ;   cmdparseInit();
0048 b0120000      565     call    #_cmdparseInit
                   566 DBG40:
                   567 ;   outfmtInit();
004c b0120000      568     call    #_outfmtInit
                   569 DBG41:
                   570 ;   versionInit();
0050 b0120000      571     call    #_versionInit
                   572 DBG42:
                   573 ;   watchdogInit();
0054 b0120000      574     call    #_watchdogInit
                   575 DBG43:
                   576 ;   timerInit();
0058 b0120000      577     call    #_timerInit
                   578 DBG44:
                   579 ;   sensorInit();
005c b0120000      580     call    #_sensorInit
                   581 DBG45:
                   582 ;   SHT11_Init();
0060 b0120000      583     call    #_SHT11_Init
                   584 DBG46:
                   585 ;   M5535A_Init();
0064 b0120000      586     call    #_M5535A_Init
                   587 DBG47:
                   588 ;   kvhInit();
0068 b0120000      589     call    #_kvhInit
                   590 DBG48:
                   591 ;   gfiInit();
006c b0120000      592     call    #_gfiInit
                   593 DBG49:
                   594 ;   adc12Init();
0070 b0120000      595     call    #_adc12Init
                   596 DBG50:
                   597 ;   timerbInit();
0074 b0120000      598     call    #_timerbInit
                   599 DBG51:
                   600 ;   adc12ScanEnable();
0078 b0120000      601     call    #_adc12ScanEnable
                   602 DBG52:
                   603 ;   pollInit();
007c b0120000      604     call    #_pollInit
                   605 DBG53:
                   606 ;   outfmtSendPrompt();
0080 b0120000      607     call    #_outfmtSendPrompt
                   608 DBG54:
                   609 ;   while(1) {
                   610 main_L1:
                   611 DBG55:
                   612 ;     eventqProcessEvents();
                   613 DBG56:
0084 b0120000      614     call    #_eventqProcessEvents
                   615 DBG57:
                   616 ;     _NOP();
0088 0343          617     nop
                   618 DBG58:
008a fc3f          619     jmp main_L1
                   620 DBG61:
                   621 DBG60:
                   622 ; EXIT
                   623 ; .temp0 at stkloc 0 (0x0) size 2
008c 3041          624     ret
                   625     .dbgseg dbg_syms
01a4 00000000      626     .long 0x0
01a8 00000014      627     .long DBG23
01ac 00000002      628     .long 0x2
01b0 00000000      629     .long 0x0
01b4 00010002      630     .long 0x10002
01b8 00000000      631     .long 0x0
01bc 0000007c      632     .long DBG24
01c0 00000002      633     .long 0x2
01c4 00000000      634     .long 0x0
01c8 00010002      635     .long 0x10002
01cc 504e5f5f      636     .long 0x504e5f5f
01d0 534d5241      637     .long 0x534d5241
01d4 00000000      638     .long 0x0
01d8 00000000      639     .long 0x0
01dc 00010002      640     .long 0x10002
01e0 0066652e      641     .long 0x66652e
01e4 00000000      642     .long 0x0
01e8 0000008c      643     .long DBG61
01ec 00000000      644     .long 0x0
01f0 01650001      645     .long 0x1650001
01f4 00000000      646     .long 0x0
01f8 0000007a      647     .long 0x7a
01fc 00000000      648     .long 0x0
0200 00000000      649     .long 0x0
0204 00000000      650     .long 0x0
                   651     .pseg init_code
                   652 DBG27:
                   653     .dbgseg dbg_syms
0208 6e69616d      654     .long 0x6e69616d
020c 00000000      655     .long 0x0
0210 0000008e      656     .long DBG27
0214 00000000      657     .long 0x0
0218 00ff0001      658     .long 0xff0001
                   659 ; }
                   660 ; ****** Warning: Symbol ``dummy'' (function main) was defined, but not used
                   661     .extern _gpioInit
                   662     .extern _cmdparseInit
                   663     .extern _SHT11_Init
                   664     .extern _watchdogInit
                   665     .extern _eventqProcessEvents
                   666     .extern _eventqInit
                   667     .extern _gfiInit
                   668     .extern _pollInit
                   669     .extern _outfmtSendPrompt
                   670     .extern _sensorInit
                   671     .extern _M5535A_Init
                   672     .extern _usart0Init
                   673     .extern _outfmtInit
                   674     .extern _usart1Init
                   675     .extern _timerInit
                   676     .extern _timerbInit
                   677     .extern _adc12ScanEnable
                   678     .extern _versionInit
                   679     .extern _cmdprocInit
                   680     .extern _kvhInit
                   681     .extern _adc12Init
                   682 _0fake_1:
                   683 DBG4:
021c 6166305f      684     .long 0x6166305f
0220 315f656b      685     .long 0x315f656b
0224 00000000      686     .long 0x0
0228 00000008      687     .long 0x8
022c 010afffe      688     .long 0x10afffe
0230 00000000      689     .long 0x0
0234 00100000      690     .long 0x100000
0238 00000000      691     .long 0x0
023c 0000030c      692     .long DBG62
0240 00000000      693     .long 0x0
0244 7361625f      694     .long 0x7361625f
0248 00000065      695     .long 0x65
024c 00000000      696     .long 0x0
0250 0000002c      697     .long 0x2c
0254 0008ffff      698     .long 0x8ffff
0258 646e655f      699     .long 0x646e655f
025c 00000000      700     .long 0x0
0260 00000002      701     .long 0x2
0264 0000002c      702     .long 0x2c
0268 0008ffff      703     .long 0x8ffff
026c 7274705f      704     .long 0x7274705f
0270 00000000      705     .long 0x0
0274 00000004      706     .long 0x4
0278 0000002c      707     .long 0x2c
027c 0008ffff      708     .long 0x8ffff
0280 6565735f      709     .long 0x6565735f
0284 0000006b      710     .long 0x6b
0288 00000006      711     .long 0x6
028c 00000005      712     .long 0x5
0290 0008ffff      713     .long 0x8ffff
0294 746e635f      714     .long 0x746e635f
0298 00000000      715     .long 0x0
029c 0000000a      716     .long 0xa
02a0 00000004      717     .long 0x4
02a4 0008ffff      718     .long 0x8ffff
02a8 616c665f      719     .long 0x616c665f
02ac 00000067      720     .long 0x67
02b0 0000000c      721     .long 0xc
02b4 00000003      722     .long 0x3
02b8 0008ffff      723     .long 0x8ffff
02bc 6c69665f      724     .long 0x6c69665f
02c0 00000065      725     .long 0x65
02c4 0000000e      726     .long 0xe
02c8 00000002      727     .long 0x2
02cc 0008ffff      728     .long 0x8ffff
02d0 66626e5f      729     .long 0x66626e5f
02d4 00000000      730     .long 0x0
02d8 0000000f      731     .long 0xf
02dc 0000000c      732     .long 0xc
02e0 0008ffff      733     .long 0x8ffff
02e4 736f652e      734     .long 0x736f652e
02e8 00000000      735     .long 0x0
02ec 00000010      736     .long 0x10
02f0 00000000      737     .long 0x0
02f4 0166ffff      738     .long 0x166ffff
02f8 0000021c      739     .long DBG4
02fc 00100000      740     .long 0x100000
0300 00000000      741     .long 0x0
0304 00000000      742     .long 0x0
0308 00000000      743     .long 0x0
                   744 Timer_2:
                   745 DBG62:
030c 656d6954      746     .long 0x656d6954
0310 00325f72      747     .long 0x325f72
0314 00000000      748     .long 0x0
0318 00000008      749     .long 0x8
031c 010afffe      750     .long 0x10afffe
0320 00000000      751     .long 0x0
0324 000a0000      752     .long 0xa0000
0328 00000000      753     .long 0x0
032c 000003d4      754     .long DBG63
0330 00000000      755     .long 0x0
0334 7478656e      756     .long 0x7478656e
0338 00000000      757     .long 0x0
033c 00000000      758     .long 0x0
0340 00000028      759     .long 0x28
0344 0108ffff      760     .long 0x108ffff
0348 0000030c      761     .long Timer_2
034c 0000000a      762     .long 0xa
0350 00000000      763     .long 0x0
0354 00000000      764     .long 0x0
0358 00000000      765     .long 0x0
035c 67616c66      766     .long 0x67616c66
0360 00000073      767     .long 0x73
0364 00000002      768     .long 0x2
0368 0000000c      769     .long 0xc
036c 0008ffff      770     .long 0x8ffff
0370 69726570      771     .long 0x69726570
0374 0000646f      772     .long 0x646f
0378 00000004      773     .long 0x4
037c 00000004      774     .long 0x4
0380 0008ffff      775     .long 0x8ffff
0384 616c6564      776     .long 0x616c6564
0388 00000079      777     .long 0x79
038c 00000006      778     .long 0x6
0390 00000004      779     .long 0x4
0394 0008ffff      780     .long 0x8ffff
0398 79547665      781     .long 0x79547665
039c 00006570      782     .long 0x6570
03a0 00000008      783     .long 0x8
03a4 00000004      784     .long 0x4
03a8 0008ffff      785     .long 0x8ffff
03ac 736f652e      786     .long 0x736f652e
03b0 00000000      787     .long 0x0
03b4 0000000a      788     .long 0xa
03b8 00000000      789     .long 0x0
03bc 0166ffff      790     .long 0x166ffff
03c0 0000030c      791     .long DBG62
03c4 000a0000      792     .long 0xa0000
03c8 00000000      793     .long 0x0
03cc 00000000      794     .long 0x0
03d0 00000000      795     .long 0x0
                   796 _3fake_3:
                   797 DBG63:
03d4 6166335f      798     .long 0x6166335f
03d8 335f656b      799     .long 0x335f656b
03dc 00000000      800     .long 0x0
03e0 00000008      801     .long 0x8
03e4 010afffe      802     .long 0x10afffe
03e8 00000000      803     .long 0x0
03ec 00120000      804     .long 0x120000
03f0 00000000      805     .long 0x0
03f4 000004b0      806     .long DBG64
03f8 00000000      807     .long 0x0
03fc 53727563      808     .long 0x53727563
0400 65746174      809     .long 0x65746174
0404 00000000      810     .long 0x0
0408 0000000c      811     .long 0xc
040c 0008ffff      812     .long 0x8ffff
0410 00000000      813     .long 0x0
0414 000000c0      814     .long DBG65
0418 00000001      815     .long 0x1
041c 0000000c      816     .long 0xc
0420 0008ffff      817     .long 0x8ffff
0424 67616c66      818     .long 0x67616c66
0428 00000073      819     .long 0x73
042c 00000002      820     .long 0x2
0430 0000000c      821     .long 0xc
0434 0008ffff      822     .long 0x8ffff
0438 6576656c      823     .long 0x6576656c
043c 0069486c      824     .long 0x69486c
0440 00000004      825     .long 0x4
0444 00000006      826     .long 0x6
0448 0008ffff      827     .long 0x8ffff
044c 6576656c      828     .long 0x6576656c
0450 006f4c6c      829     .long 0x6f4c6c
0454 00000008      830     .long 0x8
0458 00000006      831     .long 0x6
045c 0008ffff      832     .long 0x8ffff
0460 00000000      833     .long 0x0
0464 0000005c      834     .long DBG66
0468 0000000c      835     .long 0xc
046c 00000006      836     .long 0x6
0470 0008ffff      837     .long 0x8ffff
0474 6874656d      838     .long 0x6874656d
0478 0000646f      839     .long 0x646f
047c 00000010      840     .long 0x10
0480 000002a4      841     .long 0x2a4
0484 0008ffff      842     .long 0x8ffff
0488 736f652e      843     .long 0x736f652e
048c 00000000      844     .long 0x0
0490 00000012      845     .long 0x12
0494 00000000      846     .long 0x0
0498 0166ffff      847     .long 0x166ffff
049c 000003d4      848     .long DBG63
04a0 00120000      849     .long 0x120000
04a4 00000000      850     .long 0x0
04a8 00000000      851     .long 0x0
04ac 00000000      852     .long 0x0
                   853 DBG30:
                   854 DBG25:
                   855 DBG26:
                   856 DBG64:
04b0 00007073      857     .long 0x7073
04b4 00000000      858     .long 0x0
04b8 00000001      859     .long 0x1
04bc 00000000      860     .long 0x0
04c0 016cfffe      861     .long 0x16cfffe
04c4 00000000      862     .long 0x0
04c8 00100001      863     .long 0x100001
04cc 00000000      864     .long 0x0
04d0 00000000      865     .long 0x0
04d4 00000000      866     .long 0x0
04d8 00000052      867     .long 0x52
04dc 00000000      868     .long 0x0
04e0 00000002      869     .long 0x2
04e4 00000000      870     .long 0x0
04e8 016cfffe      871     .long 0x16cfffe
04ec 00000000      872     .long 0x0
04f0 00100010      873     .long 0x100010
04f4 00000000      874     .long 0x0
04f8 00000000      875     .long 0x0
04fc 00000000      876     .long 0x0
0500 00000000      877     .long 0x0
0504 00000004      878     .long DBG67
0508 00000000      879     .long 0x0
050c 000002a0      880     .long 0x2a0
0510 000dfffe      881     .long 0xdfffe
0514 6c6f6f62      882     .long 0x6c6f6f62
0518 006e6165      883     .long 0x6e6165
051c 00000000      884     .long 0x0
0520 00000004      885     .long 0x4
0524 000dfffe      886     .long 0xdfffe
0528 454c4946      887     .long 0x454c4946
052c 00000000      888     .long 0x0
0530 00000000      889     .long 0x0
0534 00000008      890     .long 0x8
0538 010dfffe      891     .long 0x10dfffe
053c 0000021c      892     .long _0fake_1
0540 00000010      893     .long 0x10
0544 00000000      894     .long 0x0
0548 00000000      895     .long 0x0
054c 00000000      896     .long 0x0
0550 656d6954      897     .long 0x656d6954
0554 00000072      898     .long 0x72
0558 00000000      899     .long 0x0
055c 00000008      900     .long 0x8
0560 010dfffe      901     .long 0x10dfffe
0564 0000030c      902     .long Timer_2
0568 0000000a      903     .long 0xa
056c 00000000      904     .long 0x0
0570 00000000      905     .long 0x0
0574 00000000      906     .long 0x0
0578 657a6973      907     .long 0x657a6973
057c 0000745f      908     .long 0x745f
0580 00000000      909     .long 0x0
0584 0000000e      910     .long 0xe
0588 000dfffe      911     .long 0xdfffe
058c 6d695470      912     .long 0x6d695470
0590 00007265      913     .long 0x7265
0594 00000000      914     .long 0x0
0598 00000028      915     .long 0x28
059c 010dfffe      916     .long 0x10dfffe
05a0 0000030c      917     .long Timer_2
05a4 0000000a      918     .long 0xa
05a8 00000000      919     .long 0x0
05ac 00000000      920     .long 0x0
05b0 00000000      921     .long 0x0
05b4 6c5f6176      922     .long 0x6c5f6176
05b8 00747369      923     .long 0x747369
05bc 00000000      924     .long 0x0
05c0 00000020      925     .long 0x20
05c4 000dfffe      926     .long 0xdfffe
05c8 00000000      927     .long 0x0
05cc 00000068      928     .long DBG68
05d0 00000000      929     .long 0x0
05d4 000002a0      930     .long 0x2a0
05d8 000dfffe      931     .long 0xdfffe
05dc 00000000      932     .long 0x0
05e0 00000090      933     .long DBG69
05e4 00000000      934     .long 0x0
05e8 00000008      935     .long 0x8
05ec 010dfffe      936     .long 0x10dfffe
05f0 000003d4      937     .long _3fake_3
05f4 00000012      938     .long 0x12
05f8 00000000      939     .long 0x0
05fc 00000000      940     .long 0x0
0600 00000000      941     .long 0x0
0604 00000000      942     .long 0x0
0608 000000ac      943     .long DBG70
060c 00000000      944     .long 0x0
0610 000002a4      945     .long 0x2a4
0614 000dfffe      946     .long 0xdfffe
0618 00000000      947     .long 0x0
061c 0000009c      948     .long DBG71
0620 00000000      949     .long 0x0
0624 000002a4      950     .long 0x2a4
0628 000dfffe      951     .long 0xdfffe
062c 666f652e      952     .long 0x666f652e
0630 00000000      953     .long 0x0
0634 00000000      954     .long 0x0
0638 00000000      955     .long 0x0
063c 0067fffe      956     .long 0x67fffe
                   957     .dbgseg dbg_strs
0000               958     .align 0x2
0000 000000cc      959     .long 0xcc
                   960 DBG67:
0004 6576656e      961     .long 0x6576656e
0008 7448616e      962     .long 0x7448616e
000c 646c6572      963     .long 0x646c6572
0010 00000000      964     .long 0x0
                   965 DBG23:
0014 5f5f4652      966     .long 0x5f5f4652
0018 414d4553      967     .long 0x414d4553
001c 495a4500      968     .long 0x495a4500
                   969 DBG5:
0020 433a5c63      970     .long 0x433a5c63
0024 79677769      971     .long 0x79677769
0028 6e5c686f      972     .long 0x6e5c686f
002c 6d655c68      973     .long 0x6d655c68
0030 6561646c      974     .long 0x6561646c
0034 65795c73      975     .long 0x65795c73
0038 766e5c4d      976     .long 0x766e5c4d
003c 53503433      977     .long 0x53503433
0040 305c5155      978     .long 0x305c5155
0044 41445241      979     .long 0x41445241
0048 7e315c6d      980     .long 0x7e315c6d
004c 6d637266      981     .long 0x6d637266
0050 696f5c69      982     .long 0x696f5c69
0054 6e69742e      983     .long 0x6e69742e
0058 63000000      984     .long 0x63000000
                   985 DBG66:
005c 6c617374      986     .long 0x6c617374
0060 56616c75      987     .long 0x56616c75
0064 65000000      988     .long 0x65000000
                   989 DBG68:
0068 5f5f6170      990     .long 0x5f5f6170
006c 70656e64      991     .long 0x70656e64
0070 66756e63      992     .long 0x66756e63
0074 5f707472      993     .long 0x5f707472
0078 00000000      994     .long 0x0
                   995 DBG24:
007c 5f5f5341      996     .long 0x5f5f5341
0080 5645445f      997     .long 0x5645445f
0084 41524753      998     .long 0x41524753
0088 5f53495a      999     .long 0x5f53495a
008c 45000000     1000     .long 0x45000000
                  1001 DBG69:
0090 73656e73     1002     .long 0x73656e73
0094 6f725374     1003     .long 0x6f725374
0098 61746500     1004     .long 0x61746500
                  1005 DBG71:
009c 636f6d6d     1006     .long 0x636f6d6d
00a0 616e6448     1007     .long 0x616e6448
00a4 616e646c     1008     .long 0x616e646c
00a8 65720000     1009     .long 0x65720000
                  1010 DBG70:
00ac 73656e73     1011     .long 0x73656e73
00b0 6f725361     1012     .long 0x6f725361
00b4 6d706c65     1013     .long 0x6d706c65
00b8 4d657468     1014     .long 0x4d657468
00bc 6f640000     1015     .long 0x6f640000
                  1016 DBG65:
00c0 70726576     1017     .long 0x70726576
00c4 53746174     1018     .long 0x53746174
00c8 65000000     1019     .long 0x65000000
