1 ;-------------------------------------------------------- 2 ; File Created by SDCC : free open source ANSI-C Compiler 3 ; Version 3.0.0 #6037 (Oct 31 2010) (Linux) 4 ; This file was generated Sat May 26 23:00:44 2012 5 ;-------------------------------------------------------- 6 .module debugintRx 7 .optsdcc -mmcs51 --model-medium 8 9 ;-------------------------------------------------------- 10 ; Public variables in this module 11 ;-------------------------------------------------------- 12 .globl _main 13 .globl _sendReportIfNeeded 14 .globl _updateLeds 15 .globl _report 16 .globl _rxpkt 17 .globl _reportBytesSent 18 .globl _reportLength 19 .globl _putchar 20 ;-------------------------------------------------------- 21 ; special function registers 22 ;-------------------------------------------------------- 23 .area RSEG (ABS,DATA) 0000 24 .org 0x0000 0080 25 FdebugintRx$P0$0$0 == 0x0080 0080 26 _P0 = 0x0080 0081 27 FdebugintRx$SP$0$0 == 0x0081 0081 28 _SP = 0x0081 0082 29 FdebugintRx$DPL0$0$0 == 0x0082 0082 30 _DPL0 = 0x0082 0083 31 FdebugintRx$DPH0$0$0 == 0x0083 0083 32 _DPH0 = 0x0083 0084 33 FdebugintRx$DPL1$0$0 == 0x0084 0084 34 _DPL1 = 0x0084 0085 35 FdebugintRx$DPH1$0$0 == 0x0085 0085 36 _DPH1 = 0x0085 0086 37 FdebugintRx$U0CSR$0$0 == 0x0086 0086 38 _U0CSR = 0x0086 0087 39 FdebugintRx$PCON$0$0 == 0x0087 0087 40 _PCON = 0x0087 0088 41 FdebugintRx$TCON$0$0 == 0x0088 0088 42 _TCON = 0x0088 0089 43 FdebugintRx$P0IFG$0$0 == 0x0089 0089 44 _P0IFG = 0x0089 008A 45 FdebugintRx$P1IFG$0$0 == 0x008a 008A 46 _P1IFG = 0x008a 008B 47 FdebugintRx$P2IFG$0$0 == 0x008b 008B 48 _P2IFG = 0x008b 008C 49 FdebugintRx$PICTL$0$0 == 0x008c 008C 50 _PICTL = 0x008c 008D 51 FdebugintRx$P1IEN$0$0 == 0x008d 008D 52 _P1IEN = 0x008d 008F 53 FdebugintRx$P0INP$0$0 == 0x008f 008F 54 _P0INP = 0x008f 0090 55 FdebugintRx$P1$0$0 == 0x0090 0090 56 _P1 = 0x0090 0091 57 FdebugintRx$RFIM$0$0 == 0x0091 0091 58 _RFIM = 0x0091 0092 59 FdebugintRx$DPS$0$0 == 0x0092 0092 60 _DPS = 0x0092 0093 61 FdebugintRx$MPAGE$0$0 == 0x0093 0093 62 _MPAGE = 0x0093 0095 63 FdebugintRx$ENDIAN$0$0 == 0x0095 0095 64 _ENDIAN = 0x0095 0098 65 FdebugintRx$S0CON$0$0 == 0x0098 0098 66 _S0CON = 0x0098 009A 67 FdebugintRx$IEN2$0$0 == 0x009a 009A 68 _IEN2 = 0x009a 009B 69 FdebugintRx$S1CON$0$0 == 0x009b 009B 70 _S1CON = 0x009b 009C 71 FdebugintRx$T2CT$0$0 == 0x009c 009C 72 _T2CT = 0x009c 009D 73 FdebugintRx$T2PR$0$0 == 0x009d 009D 74 _T2PR = 0x009d 009E 75 FdebugintRx$T2CTL$0$0 == 0x009e 009E 76 _T2CTL = 0x009e 00A0 77 FdebugintRx$P2$0$0 == 0x00a0 00A0 78 _P2 = 0x00a0 00A1 79 FdebugintRx$WORIRQ$0$0 == 0x00a1 00A1 80 _WORIRQ = 0x00a1 00A2 81 FdebugintRx$WORCTRL$0$0 == 0x00a2 00A2 82 _WORCTRL = 0x00a2 00A3 83 FdebugintRx$WOREVT0$0$0 == 0x00a3 00A3 84 _WOREVT0 = 0x00a3 00A4 85 FdebugintRx$WOREVT1$0$0 == 0x00a4 00A4 86 _WOREVT1 = 0x00a4 00A5 87 FdebugintRx$WORTIME0$0$0 == 0x00a5 00A5 88 _WORTIME0 = 0x00a5 00A6 89 FdebugintRx$WORTIME1$0$0 == 0x00a6 00A6 90 _WORTIME1 = 0x00a6 00A8 91 FdebugintRx$IEN0$0$0 == 0x00a8 00A8 92 _IEN0 = 0x00a8 00A9 93 FdebugintRx$IP0$0$0 == 0x00a9 00A9 94 _IP0 = 0x00a9 00AB 95 FdebugintRx$FWT$0$0 == 0x00ab 00AB 96 _FWT = 0x00ab 00AC 97 FdebugintRx$FADDRL$0$0 == 0x00ac 00AC 98 _FADDRL = 0x00ac 00AD 99 FdebugintRx$FADDRH$0$0 == 0x00ad 00AD 100 _FADDRH = 0x00ad 00AE 101 FdebugintRx$FCTL$0$0 == 0x00ae 00AE 102 _FCTL = 0x00ae 00AF 103 FdebugintRx$FWDATA$0$0 == 0x00af 00AF 104 _FWDATA = 0x00af 00B1 105 FdebugintRx$ENCDI$0$0 == 0x00b1 00B1 106 _ENCDI = 0x00b1 00B2 107 FdebugintRx$ENCDO$0$0 == 0x00b2 00B2 108 _ENCDO = 0x00b2 00B3 109 FdebugintRx$ENCCS$0$0 == 0x00b3 00B3 110 _ENCCS = 0x00b3 00B4 111 FdebugintRx$ADCCON1$0$0 == 0x00b4 00B4 112 _ADCCON1 = 0x00b4 00B5 113 FdebugintRx$ADCCON2$0$0 == 0x00b5 00B5 114 _ADCCON2 = 0x00b5 00B6 115 FdebugintRx$ADCCON3$0$0 == 0x00b6 00B6 116 _ADCCON3 = 0x00b6 00B8 117 FdebugintRx$IEN1$0$0 == 0x00b8 00B8 118 _IEN1 = 0x00b8 00B9 119 FdebugintRx$IP1$0$0 == 0x00b9 00B9 120 _IP1 = 0x00b9 00BA 121 FdebugintRx$ADCL$0$0 == 0x00ba 00BA 122 _ADCL = 0x00ba 00BB 123 FdebugintRx$ADCH$0$0 == 0x00bb 00BB 124 _ADCH = 0x00bb 00BC 125 FdebugintRx$RNDL$0$0 == 0x00bc 00BC 126 _RNDL = 0x00bc 00BD 127 FdebugintRx$RNDH$0$0 == 0x00bd 00BD 128 _RNDH = 0x00bd 00BE 129 FdebugintRx$SLEEP$0$0 == 0x00be 00BE 130 _SLEEP = 0x00be 00C0 131 FdebugintRx$IRCON$0$0 == 0x00c0 00C0 132 _IRCON = 0x00c0 00C1 133 FdebugintRx$U0DBUF$0$0 == 0x00c1 00C1 134 _U0DBUF = 0x00c1 00C2 135 FdebugintRx$U0BAUD$0$0 == 0x00c2 00C2 136 _U0BAUD = 0x00c2 00C4 137 FdebugintRx$U0UCR$0$0 == 0x00c4 00C4 138 _U0UCR = 0x00c4 00C5 139 FdebugintRx$U0GCR$0$0 == 0x00c5 00C5 140 _U0GCR = 0x00c5 00C6 141 FdebugintRx$CLKCON$0$0 == 0x00c6 00C6 142 _CLKCON = 0x00c6 00C7 143 FdebugintRx$MEMCTR$0$0 == 0x00c7 00C7 144 _MEMCTR = 0x00c7 00C9 145 FdebugintRx$WDCTL$0$0 == 0x00c9 00C9 146 _WDCTL = 0x00c9 00CA 147 FdebugintRx$T3CNT$0$0 == 0x00ca 00CA 148 _T3CNT = 0x00ca 00CB 149 FdebugintRx$T3CTL$0$0 == 0x00cb 00CB 150 _T3CTL = 0x00cb 00CC 151 FdebugintRx$T3CCTL0$0$0 == 0x00cc 00CC 152 _T3CCTL0 = 0x00cc 00CD 153 FdebugintRx$T3CC0$0$0 == 0x00cd 00CD 154 _T3CC0 = 0x00cd 00CE 155 FdebugintRx$T3CCTL1$0$0 == 0x00ce 00CE 156 _T3CCTL1 = 0x00ce 00CF 157 FdebugintRx$T3CC1$0$0 == 0x00cf 00CF 158 _T3CC1 = 0x00cf 00D0 159 FdebugintRx$PSW$0$0 == 0x00d0 00D0 160 _PSW = 0x00d0 00D1 161 FdebugintRx$DMAIRQ$0$0 == 0x00d1 00D1 162 _DMAIRQ = 0x00d1 00D2 163 FdebugintRx$DMA1CFGL$0$0 == 0x00d2 00D2 164 _DMA1CFGL = 0x00d2 00D3 165 FdebugintRx$DMA1CFGH$0$0 == 0x00d3 00D3 166 _DMA1CFGH = 0x00d3 00D4 167 FdebugintRx$DMA0CFGL$0$0 == 0x00d4 00D4 168 _DMA0CFGL = 0x00d4 00D5 169 FdebugintRx$DMA0CFGH$0$0 == 0x00d5 00D5 170 _DMA0CFGH = 0x00d5 00D6 171 FdebugintRx$DMAARM$0$0 == 0x00d6 00D6 172 _DMAARM = 0x00d6 00D7 173 FdebugintRx$DMAREQ$0$0 == 0x00d7 00D7 174 _DMAREQ = 0x00d7 00D8 175 FdebugintRx$TIMIF$0$0 == 0x00d8 00D8 176 _TIMIF = 0x00d8 00D9 177 FdebugintRx$RFD$0$0 == 0x00d9 00D9 178 _RFD = 0x00d9 00DA 179 FdebugintRx$T1CC0L$0$0 == 0x00da 00DA 180 _T1CC0L = 0x00da 00DB 181 FdebugintRx$T1CC0H$0$0 == 0x00db 00DB 182 _T1CC0H = 0x00db 00DC 183 FdebugintRx$T1CC1L$0$0 == 0x00dc 00DC 184 _T1CC1L = 0x00dc 00DD 185 FdebugintRx$T1CC1H$0$0 == 0x00dd 00DD 186 _T1CC1H = 0x00dd 00DE 187 FdebugintRx$T1CC2L$0$0 == 0x00de 00DE 188 _T1CC2L = 0x00de 00DF 189 FdebugintRx$T1CC2H$0$0 == 0x00df 00DF 190 _T1CC2H = 0x00df 00E0 191 FdebugintRx$ACC$0$0 == 0x00e0 00E0 192 _ACC = 0x00e0 00E1 193 FdebugintRx$RFST$0$0 == 0x00e1 00E1 194 _RFST = 0x00e1 00E2 195 FdebugintRx$T1CNTL$0$0 == 0x00e2 00E2 196 _T1CNTL = 0x00e2 00E3 197 FdebugintRx$T1CNTH$0$0 == 0x00e3 00E3 198 _T1CNTH = 0x00e3 00E4 199 FdebugintRx$T1CTL$0$0 == 0x00e4 00E4 200 _T1CTL = 0x00e4 00E5 201 FdebugintRx$T1CCTL0$0$0 == 0x00e5 00E5 202 _T1CCTL0 = 0x00e5 00E6 203 FdebugintRx$T1CCTL1$0$0 == 0x00e6 00E6 204 _T1CCTL1 = 0x00e6 00E7 205 FdebugintRx$T1CCTL2$0$0 == 0x00e7 00E7 206 _T1CCTL2 = 0x00e7 00E8 207 FdebugintRx$IRCON2$0$0 == 0x00e8 00E8 208 _IRCON2 = 0x00e8 00E9 209 FdebugintRx$RFIF$0$0 == 0x00e9 00E9 210 _RFIF = 0x00e9 00EA 211 FdebugintRx$T4CNT$0$0 == 0x00ea 00EA 212 _T4CNT = 0x00ea 00EB 213 FdebugintRx$T4CTL$0$0 == 0x00eb 00EB 214 _T4CTL = 0x00eb 00EC 215 FdebugintRx$T4CCTL0$0$0 == 0x00ec 00EC 216 _T4CCTL0 = 0x00ec 00ED 217 FdebugintRx$T4CC0$0$0 == 0x00ed 00ED 218 _T4CC0 = 0x00ed 00EE 219 FdebugintRx$T4CCTL1$0$0 == 0x00ee 00EE 220 _T4CCTL1 = 0x00ee 00EF 221 FdebugintRx$T4CC1$0$0 == 0x00ef 00EF 222 _T4CC1 = 0x00ef 00F0 223 FdebugintRx$B$0$0 == 0x00f0 00F0 224 _B = 0x00f0 00F1 225 FdebugintRx$PERCFG$0$0 == 0x00f1 00F1 226 _PERCFG = 0x00f1 00F2 227 FdebugintRx$ADCCFG$0$0 == 0x00f2 00F2 228 _ADCCFG = 0x00f2 00F3 229 FdebugintRx$P0SEL$0$0 == 0x00f3 00F3 230 _P0SEL = 0x00f3 00F4 231 FdebugintRx$P1SEL$0$0 == 0x00f4 00F4 232 _P1SEL = 0x00f4 00F5 233 FdebugintRx$P2SEL$0$0 == 0x00f5 00F5 234 _P2SEL = 0x00f5 00F6 235 FdebugintRx$P1INP$0$0 == 0x00f6 00F6 236 _P1INP = 0x00f6 00F7 237 FdebugintRx$P2INP$0$0 == 0x00f7 00F7 238 _P2INP = 0x00f7 00F8 239 FdebugintRx$U1CSR$0$0 == 0x00f8 00F8 240 _U1CSR = 0x00f8 00F9 241 FdebugintRx$U1DBUF$0$0 == 0x00f9 00F9 242 _U1DBUF = 0x00f9 00FA 243 FdebugintRx$U1BAUD$0$0 == 0x00fa 00FA 244 _U1BAUD = 0x00fa 00FB 245 FdebugintRx$U1UCR$0$0 == 0x00fb 00FB 246 _U1UCR = 0x00fb 00FC 247 FdebugintRx$U1GCR$0$0 == 0x00fc 00FC 248 _U1GCR = 0x00fc 00FD 249 FdebugintRx$P0DIR$0$0 == 0x00fd 00FD 250 _P0DIR = 0x00fd 00FE 251 FdebugintRx$P1DIR$0$0 == 0x00fe 00FE 252 _P1DIR = 0x00fe 00FF 253 FdebugintRx$P2DIR$0$0 == 0x00ff 00FF 254 _P2DIR = 0x00ff FFFFD5D4 255 FdebugintRx$DMA0CFG$0$0 == 0xffffd5d4 FFFFD5D4 256 _DMA0CFG = 0xffffd5d4 FFFFD3D2 257 FdebugintRx$DMA1CFG$0$0 == 0xffffd3d2 FFFFD3D2 258 _DMA1CFG = 0xffffd3d2 FFFFADAC 259 FdebugintRx$FADDR$0$0 == 0xffffadac FFFFADAC 260 _FADDR = 0xffffadac FFFFBBBA 261 FdebugintRx$ADC$0$0 == 0xffffbbba FFFFBBBA 262 _ADC = 0xffffbbba FFFFDBDA 263 FdebugintRx$T1CC0$0$0 == 0xffffdbda FFFFDBDA 264 _T1CC0 = 0xffffdbda FFFFDDDC 265 FdebugintRx$T1CC1$0$0 == 0xffffdddc FFFFDDDC 266 _T1CC1 = 0xffffdddc FFFFDFDE 267 FdebugintRx$T1CC2$0$0 == 0xffffdfde FFFFDFDE 268 _T1CC2 = 0xffffdfde 269 ;-------------------------------------------------------- 270 ; special function bits 271 ;-------------------------------------------------------- 272 .area RSEG (ABS,DATA) 0000 273 .org 0x0000 0080 274 FdebugintRx$P0_0$0$0 == 0x0080 0080 275 _P0_0 = 0x0080 0081 276 FdebugintRx$P0_1$0$0 == 0x0081 0081 277 _P0_1 = 0x0081 0082 278 FdebugintRx$P0_2$0$0 == 0x0082 0082 279 _P0_2 = 0x0082 0083 280 FdebugintRx$P0_3$0$0 == 0x0083 0083 281 _P0_3 = 0x0083 0084 282 FdebugintRx$P0_4$0$0 == 0x0084 0084 283 _P0_4 = 0x0084 0085 284 FdebugintRx$P0_5$0$0 == 0x0085 0085 285 _P0_5 = 0x0085 0086 286 FdebugintRx$P0_6$0$0 == 0x0086 0086 287 _P0_6 = 0x0086 0087 288 FdebugintRx$P0_7$0$0 == 0x0087 0087 289 _P0_7 = 0x0087 0088 290 FdebugintRx$_TCON_0$0$0 == 0x0088 0088 291 __TCON_0 = 0x0088 0089 292 FdebugintRx$RFTXRXIF$0$0 == 0x0089 0089 293 _RFTXRXIF = 0x0089 008A 294 FdebugintRx$_TCON_2$0$0 == 0x008a 008A 295 __TCON_2 = 0x008a 008B 296 FdebugintRx$URX0IF$0$0 == 0x008b 008B 297 _URX0IF = 0x008b 008C 298 FdebugintRx$_TCON_4$0$0 == 0x008c 008C 299 __TCON_4 = 0x008c 008D 300 FdebugintRx$ADCIF$0$0 == 0x008d 008D 301 _ADCIF = 0x008d 008E 302 FdebugintRx$_TCON_6$0$0 == 0x008e 008E 303 __TCON_6 = 0x008e 008F 304 FdebugintRx$URX1IF$0$0 == 0x008f 008F 305 _URX1IF = 0x008f 0090 306 FdebugintRx$P1_0$0$0 == 0x0090 0090 307 _P1_0 = 0x0090 0091 308 FdebugintRx$P1_1$0$0 == 0x0091 0091 309 _P1_1 = 0x0091 0092 310 FdebugintRx$P1_2$0$0 == 0x0092 0092 311 _P1_2 = 0x0092 0093 312 FdebugintRx$P1_3$0$0 == 0x0093 0093 313 _P1_3 = 0x0093 0094 314 FdebugintRx$P1_4$0$0 == 0x0094 0094 315 _P1_4 = 0x0094 0095 316 FdebugintRx$P1_5$0$0 == 0x0095 0095 317 _P1_5 = 0x0095 0096 318 FdebugintRx$P1_6$0$0 == 0x0096 0096 319 _P1_6 = 0x0096 0097 320 FdebugintRx$P1_7$0$0 == 0x0097 0097 321 _P1_7 = 0x0097 0098 322 FdebugintRx$ENCIF_0$0$0 == 0x0098 0098 323 _ENCIF_0 = 0x0098 0099 324 FdebugintRx$ENCIF_1$0$0 == 0x0099 0099 325 _ENCIF_1 = 0x0099 009A 326 FdebugintRx$_SOCON2$0$0 == 0x009a 009A 327 __SOCON2 = 0x009a 009B 328 FdebugintRx$_SOCON3$0$0 == 0x009b 009B 329 __SOCON3 = 0x009b 009C 330 FdebugintRx$_SOCON4$0$0 == 0x009c 009C 331 __SOCON4 = 0x009c 009D 332 FdebugintRx$_SOCON5$0$0 == 0x009d 009D 333 __SOCON5 = 0x009d 009E 334 FdebugintRx$_SOCON6$0$0 == 0x009e 009E 335 __SOCON6 = 0x009e 009F 336 FdebugintRx$_SOCON7$0$0 == 0x009f 009F 337 __SOCON7 = 0x009f 00A0 338 FdebugintRx$P2_0$0$0 == 0x00a0 00A0 339 _P2_0 = 0x00a0 00A1 340 FdebugintRx$P2_1$0$0 == 0x00a1 00A1 341 _P2_1 = 0x00a1 00A2 342 FdebugintRx$P2_2$0$0 == 0x00a2 00A2 343 _P2_2 = 0x00a2 00A3 344 FdebugintRx$P2_3$0$0 == 0x00a3 00A3 345 _P2_3 = 0x00a3 00A4 346 FdebugintRx$P2_4$0$0 == 0x00a4 00A4 347 _P2_4 = 0x00a4 00A5 348 FdebugintRx$P2_5$0$0 == 0x00a5 00A5 349 _P2_5 = 0x00a5 00A6 350 FdebugintRx$P2_6$0$0 == 0x00a6 00A6 351 _P2_6 = 0x00a6 00A7 352 FdebugintRx$P2_7$0$0 == 0x00a7 00A7 353 _P2_7 = 0x00a7 00A8 354 FdebugintRx$RFTXRXIE$0$0 == 0x00a8 00A8 355 _RFTXRXIE = 0x00a8 00A9 356 FdebugintRx$ADCIE$0$0 == 0x00a9 00A9 357 _ADCIE = 0x00a9 00AA 358 FdebugintRx$URX0IE$0$0 == 0x00aa 00AA 359 _URX0IE = 0x00aa 00AB 360 FdebugintRx$URX1IE$0$0 == 0x00ab 00AB 361 _URX1IE = 0x00ab 00AC 362 FdebugintRx$ENCIE$0$0 == 0x00ac 00AC 363 _ENCIE = 0x00ac 00AD 364 FdebugintRx$STIE$0$0 == 0x00ad 00AD 365 _STIE = 0x00ad 00AE 366 FdebugintRx$_IEN06$0$0 == 0x00ae 00AE 367 __IEN06 = 0x00ae 00AF 368 FdebugintRx$EA$0$0 == 0x00af 00AF 369 _EA = 0x00af 00B8 370 FdebugintRx$DMAIE$0$0 == 0x00b8 00B8 371 _DMAIE = 0x00b8 00B9 372 FdebugintRx$T1IE$0$0 == 0x00b9 00B9 373 _T1IE = 0x00b9 00BA 374 FdebugintRx$T2IE$0$0 == 0x00ba 00BA 375 _T2IE = 0x00ba 00BB 376 FdebugintRx$T3IE$0$0 == 0x00bb 00BB 377 _T3IE = 0x00bb 00BC 378 FdebugintRx$T4IE$0$0 == 0x00bc 00BC 379 _T4IE = 0x00bc 00BD 380 FdebugintRx$P0IE$0$0 == 0x00bd 00BD 381 _P0IE = 0x00bd 00BE 382 FdebugintRx$_IEN16$0$0 == 0x00be 00BE 383 __IEN16 = 0x00be 00BF 384 FdebugintRx$_IEN17$0$0 == 0x00bf 00BF 385 __IEN17 = 0x00bf 00C0 386 FdebugintRx$DMAIF$0$0 == 0x00c0 00C0 387 _DMAIF = 0x00c0 00C1 388 FdebugintRx$T1IF$0$0 == 0x00c1 00C1 389 _T1IF = 0x00c1 00C2 390 FdebugintRx$T2IF$0$0 == 0x00c2 00C2 391 _T2IF = 0x00c2 00C3 392 FdebugintRx$T3IF$0$0 == 0x00c3 00C3 393 _T3IF = 0x00c3 00C4 394 FdebugintRx$T4IF$0$0 == 0x00c4 00C4 395 _T4IF = 0x00c4 00C5 396 FdebugintRx$P0IF$0$0 == 0x00c5 00C5 397 _P0IF = 0x00c5 00C6 398 FdebugintRx$_IRCON6$0$0 == 0x00c6 00C6 399 __IRCON6 = 0x00c6 00C7 400 FdebugintRx$STIF$0$0 == 0x00c7 00C7 401 _STIF = 0x00c7 00D0 402 FdebugintRx$P$0$0 == 0x00d0 00D0 403 _P = 0x00d0 00D1 404 FdebugintRx$F1$0$0 == 0x00d1 00D1 405 _F1 = 0x00d1 00D2 406 FdebugintRx$OV$0$0 == 0x00d2 00D2 407 _OV = 0x00d2 00D3 408 FdebugintRx$RS0$0$0 == 0x00d3 00D3 409 _RS0 = 0x00d3 00D4 410 FdebugintRx$RS1$0$0 == 0x00d4 00D4 411 _RS1 = 0x00d4 00D5 412 FdebugintRx$F0$0$0 == 0x00d5 00D5 413 _F0 = 0x00d5 00D6 414 FdebugintRx$AC$0$0 == 0x00d6 00D6 415 _AC = 0x00d6 00D7 416 FdebugintRx$CY$0$0 == 0x00d7 00D7 417 _CY = 0x00d7 00D8 418 FdebugintRx$T3OVFIF$0$0 == 0x00d8 00D8 419 _T3OVFIF = 0x00d8 00D9 420 FdebugintRx$T3CH0IF$0$0 == 0x00d9 00D9 421 _T3CH0IF = 0x00d9 00DA 422 FdebugintRx$T3CH1IF$0$0 == 0x00da 00DA 423 _T3CH1IF = 0x00da 00DB 424 FdebugintRx$T4OVFIF$0$0 == 0x00db 00DB 425 _T4OVFIF = 0x00db 00DC 426 FdebugintRx$T4CH0IF$0$0 == 0x00dc 00DC 427 _T4CH0IF = 0x00dc 00DD 428 FdebugintRx$T4CH1IF$0$0 == 0x00dd 00DD 429 _T4CH1IF = 0x00dd 00DE 430 FdebugintRx$OVFIM$0$0 == 0x00de 00DE 431 _OVFIM = 0x00de 00DF 432 FdebugintRx$_TIMIF7$0$0 == 0x00df 00DF 433 __TIMIF7 = 0x00df 00E0 434 FdebugintRx$ACC_0$0$0 == 0x00e0 00E0 435 _ACC_0 = 0x00e0 00E1 436 FdebugintRx$ACC_1$0$0 == 0x00e1 00E1 437 _ACC_1 = 0x00e1 00E2 438 FdebugintRx$ACC_2$0$0 == 0x00e2 00E2 439 _ACC_2 = 0x00e2 00E3 440 FdebugintRx$ACC_3$0$0 == 0x00e3 00E3 441 _ACC_3 = 0x00e3 00E4 442 FdebugintRx$ACC_4$0$0 == 0x00e4 00E4 443 _ACC_4 = 0x00e4 00E5 444 FdebugintRx$ACC_5$0$0 == 0x00e5 00E5 445 _ACC_5 = 0x00e5 00E6 446 FdebugintRx$ACC_6$0$0 == 0x00e6 00E6 447 _ACC_6 = 0x00e6 00E7 448 FdebugintRx$ACC_7$0$0 == 0x00e7 00E7 449 _ACC_7 = 0x00e7 00E8 450 FdebugintRx$P2IF$0$0 == 0x00e8 00E8 451 _P2IF = 0x00e8 00E9 452 FdebugintRx$UTX0IF$0$0 == 0x00e9 00E9 453 _UTX0IF = 0x00e9 00EA 454 FdebugintRx$UTX1IF$0$0 == 0x00ea 00EA 455 _UTX1IF = 0x00ea 00EB 456 FdebugintRx$P1IF$0$0 == 0x00eb 00EB 457 _P1IF = 0x00eb 00EC 458 FdebugintRx$WDTIF$0$0 == 0x00ec 00EC 459 _WDTIF = 0x00ec 00ED 460 FdebugintRx$_IRCON25$0$0 == 0x00ed 00ED 461 __IRCON25 = 0x00ed 00EE 462 FdebugintRx$_IRCON26$0$0 == 0x00ee 00EE 463 __IRCON26 = 0x00ee 00EF 464 FdebugintRx$_IRCON27$0$0 == 0x00ef 00EF 465 __IRCON27 = 0x00ef 00F0 466 FdebugintRx$B_0$0$0 == 0x00f0 00F0 467 _B_0 = 0x00f0 00F1 468 FdebugintRx$B_1$0$0 == 0x00f1 00F1 469 _B_1 = 0x00f1 00F2 470 FdebugintRx$B_2$0$0 == 0x00f2 00F2 471 _B_2 = 0x00f2 00F3 472 FdebugintRx$B_3$0$0 == 0x00f3 00F3 473 _B_3 = 0x00f3 00F4 474 FdebugintRx$B_4$0$0 == 0x00f4 00F4 475 _B_4 = 0x00f4 00F5 476 FdebugintRx$B_5$0$0 == 0x00f5 00F5 477 _B_5 = 0x00f5 00F6 478 FdebugintRx$B_6$0$0 == 0x00f6 00F6 479 _B_6 = 0x00f6 00F7 480 FdebugintRx$B_7$0$0 == 0x00f7 00F7 481 _B_7 = 0x00f7 00F8 482 FdebugintRx$U1ACTIVE$0$0 == 0x00f8 00F8 483 _U1ACTIVE = 0x00f8 00F9 484 FdebugintRx$U1TX_BYTE$0$0 == 0x00f9 00F9 485 _U1TX_BYTE = 0x00f9 00FA 486 FdebugintRx$U1RX_BYTE$0$0 == 0x00fa 00FA 487 _U1RX_BYTE = 0x00fa 00FB 488 FdebugintRx$U1ERR$0$0 == 0x00fb 00FB 489 _U1ERR = 0x00fb 00FC 490 FdebugintRx$U1FE$0$0 == 0x00fc 00FC 491 _U1FE = 0x00fc 00FD 492 FdebugintRx$U1SLAVE$0$0 == 0x00fd 00FD 493 _U1SLAVE = 0x00fd 00FE 494 FdebugintRx$U1RE$0$0 == 0x00fe 00FE 495 _U1RE = 0x00fe 00FF 496 FdebugintRx$U1MODE$0$0 == 0x00ff 00FF 497 _U1MODE = 0x00ff 498 ;-------------------------------------------------------- 499 ; overlayable register banks 500 ;-------------------------------------------------------- 501 .area REG_BANK_0 (REL,OVR,DATA) 0000 502 .ds 8 503 ;-------------------------------------------------------- 504 ; internal ram data 505 ;-------------------------------------------------------- 506 .area DSEG (DATA) 0000 507 G$reportLength$0$0==. 0000 508 _reportLength:: 0000 509 .ds 2 0002 510 G$reportBytesSent$0$0==. 0002 511 _reportBytesSent:: 0002 512 .ds 2 513 ;-------------------------------------------------------- 514 ; overlayable items in internal ram 515 ;-------------------------------------------------------- 516 .area OSEG (OVR,DATA) 517 ;-------------------------------------------------------- 518 ; Stack segment in internal ram 519 ;-------------------------------------------------------- 520 .area SSEG (DATA) 0000 521 __start__stack: 0000 522 .ds 1 523 524 ;-------------------------------------------------------- 525 ; indirectly addressable internal ram data 526 ;-------------------------------------------------------- 527 .area ISEG (DATA) 528 ;-------------------------------------------------------- 529 ; absolute internal ram data 530 ;-------------------------------------------------------- 531 .area IABS (ABS,DATA) 532 .area IABS (ABS,DATA) 533 ;-------------------------------------------------------- 534 ; bit data 535 ;-------------------------------------------------------- 536 .area BSEG (BIT) 537 ;-------------------------------------------------------- 538 ; paged external ram data 539 ;-------------------------------------------------------- 540 .area PSEG (PAG,XDATA) 0000 541 G$rxpkt$0$0==. 0000 542 _rxpkt:: 0000 543 .ds 2 0002 544 LsendReportIfNeeded$lastReport$1$1==. 0002 545 _sendReportIfNeeded_lastReport_1_1: 0002 546 .ds 4 547 ;-------------------------------------------------------- 548 ; external ram data 549 ;-------------------------------------------------------- 550 .area XSEG (XDATA) DF00 551 FdebugintRx$SYNC1$0$0 == 0xdf00 DF00 552 _SYNC1 = 0xdf00 DF01 553 FdebugintRx$SYNC0$0$0 == 0xdf01 DF01 554 _SYNC0 = 0xdf01 DF02 555 FdebugintRx$PKTLEN$0$0 == 0xdf02 DF02 556 _PKTLEN = 0xdf02 DF03 557 FdebugintRx$PKTCTRL1$0$0 == 0xdf03 DF03 558 _PKTCTRL1 = 0xdf03 DF04 559 FdebugintRx$PKTCTRL0$0$0 == 0xdf04 DF04 560 _PKTCTRL0 = 0xdf04 DF05 561 FdebugintRx$ADDR$0$0 == 0xdf05 DF05 562 _ADDR = 0xdf05 DF06 563 FdebugintRx$CHANNR$0$0 == 0xdf06 DF06 564 _CHANNR = 0xdf06 DF07 565 FdebugintRx$FSCTRL1$0$0 == 0xdf07 DF07 566 _FSCTRL1 = 0xdf07 DF08 567 FdebugintRx$FSCTRL0$0$0 == 0xdf08 DF08 568 _FSCTRL0 = 0xdf08 DF09 569 FdebugintRx$FREQ2$0$0 == 0xdf09 DF09 570 _FREQ2 = 0xdf09 DF0A 571 FdebugintRx$FREQ1$0$0 == 0xdf0a DF0A 572 _FREQ1 = 0xdf0a DF0B 573 FdebugintRx$FREQ0$0$0 == 0xdf0b DF0B 574 _FREQ0 = 0xdf0b DF0C 575 FdebugintRx$MDMCFG4$0$0 == 0xdf0c DF0C 576 _MDMCFG4 = 0xdf0c DF0D 577 FdebugintRx$MDMCFG3$0$0 == 0xdf0d DF0D 578 _MDMCFG3 = 0xdf0d DF0E 579 FdebugintRx$MDMCFG2$0$0 == 0xdf0e DF0E 580 _MDMCFG2 = 0xdf0e DF0F 581 FdebugintRx$MDMCFG1$0$0 == 0xdf0f DF0F 582 _MDMCFG1 = 0xdf0f DF10 583 FdebugintRx$MDMCFG0$0$0 == 0xdf10 DF10 584 _MDMCFG0 = 0xdf10 DF11 585 FdebugintRx$DEVIATN$0$0 == 0xdf11 DF11 586 _DEVIATN = 0xdf11 DF12 587 FdebugintRx$MCSM2$0$0 == 0xdf12 DF12 588 _MCSM2 = 0xdf12 DF13 589 FdebugintRx$MCSM1$0$0 == 0xdf13 DF13 590 _MCSM1 = 0xdf13 DF14 591 FdebugintRx$MCSM0$0$0 == 0xdf14 DF14 592 _MCSM0 = 0xdf14 DF15 593 FdebugintRx$FOCCFG$0$0 == 0xdf15 DF15 594 _FOCCFG = 0xdf15 DF16 595 FdebugintRx$BSCFG$0$0 == 0xdf16 DF16 596 _BSCFG = 0xdf16 DF17 597 FdebugintRx$AGCCTRL2$0$0 == 0xdf17 DF17 598 _AGCCTRL2 = 0xdf17 DF18 599 FdebugintRx$AGCCTRL1$0$0 == 0xdf18 DF18 600 _AGCCTRL1 = 0xdf18 DF19 601 FdebugintRx$AGCCTRL0$0$0 == 0xdf19 DF19 602 _AGCCTRL0 = 0xdf19 DF1A 603 FdebugintRx$FREND1$0$0 == 0xdf1a DF1A 604 _FREND1 = 0xdf1a DF1B 605 FdebugintRx$FREND0$0$0 == 0xdf1b DF1B 606 _FREND0 = 0xdf1b DF1C 607 FdebugintRx$FSCAL3$0$0 == 0xdf1c DF1C 608 _FSCAL3 = 0xdf1c DF1D 609 FdebugintRx$FSCAL2$0$0 == 0xdf1d DF1D 610 _FSCAL2 = 0xdf1d DF1E 611 FdebugintRx$FSCAL1$0$0 == 0xdf1e DF1E 612 _FSCAL1 = 0xdf1e DF1F 613 FdebugintRx$FSCAL0$0$0 == 0xdf1f DF1F 614 _FSCAL0 = 0xdf1f DF23 615 FdebugintRx$TEST2$0$0 == 0xdf23 DF23 616 _TEST2 = 0xdf23 DF24 617 FdebugintRx$TEST1$0$0 == 0xdf24 DF24 618 _TEST1 = 0xdf24 DF25 619 FdebugintRx$TEST0$0$0 == 0xdf25 DF25 620 _TEST0 = 0xdf25 DF2E 621 FdebugintRx$PA_TABLE0$0$0 == 0xdf2e DF2E 622 _PA_TABLE0 = 0xdf2e DF2F 623 FdebugintRx$IOCFG2$0$0 == 0xdf2f DF2F 624 _IOCFG2 = 0xdf2f DF30 625 FdebugintRx$IOCFG1$0$0 == 0xdf30 DF30 626 _IOCFG1 = 0xdf30 DF31 627 FdebugintRx$IOCFG0$0$0 == 0xdf31 DF31 628 _IOCFG0 = 0xdf31 DF36 629 FdebugintRx$PARTNUM$0$0 == 0xdf36 DF36 630 _PARTNUM = 0xdf36 DF37 631 FdebugintRx$VERSION$0$0 == 0xdf37 DF37 632 _VERSION = 0xdf37 DF38 633 FdebugintRx$FREQEST$0$0 == 0xdf38 DF38 634 _FREQEST = 0xdf38 DF39 635 FdebugintRx$LQI$0$0 == 0xdf39 DF39 636 _LQI = 0xdf39 DF3A 637 FdebugintRx$RSSI$0$0 == 0xdf3a DF3A 638 _RSSI = 0xdf3a DF3B 639 FdebugintRx$MARCSTATE$0$0 == 0xdf3b DF3B 640 _MARCSTATE = 0xdf3b DF3C 641 FdebugintRx$PKTSTATUS$0$0 == 0xdf3c DF3C 642 _PKTSTATUS = 0xdf3c DF3D 643 FdebugintRx$VCO_VC_DAC$0$0 == 0xdf3d DF3D 644 _VCO_VC_DAC = 0xdf3d DF40 645 FdebugintRx$I2SCFG0$0$0 == 0xdf40 DF40 646 _I2SCFG0 = 0xdf40 DF41 647 FdebugintRx$I2SCFG1$0$0 == 0xdf41 DF41 648 _I2SCFG1 = 0xdf41 DF42 649 FdebugintRx$I2SDATL$0$0 == 0xdf42 DF42 650 _I2SDATL = 0xdf42 DF43 651 FdebugintRx$I2SDATH$0$0 == 0xdf43 DF43 652 _I2SDATH = 0xdf43 DF44 653 FdebugintRx$I2SWCNT$0$0 == 0xdf44 DF44 654 _I2SWCNT = 0xdf44 DF45 655 FdebugintRx$I2SSTAT$0$0 == 0xdf45 DF45 656 _I2SSTAT = 0xdf45 DF46 657 FdebugintRx$I2SCLKF0$0$0 == 0xdf46 DF46 658 _I2SCLKF0 = 0xdf46 DF47 659 FdebugintRx$I2SCLKF1$0$0 == 0xdf47 DF47 660 _I2SCLKF1 = 0xdf47 DF48 661 FdebugintRx$I2SCLKF2$0$0 == 0xdf48 DF48 662 _I2SCLKF2 = 0xdf48 DE00 663 FdebugintRx$USBADDR$0$0 == 0xde00 DE00 664 _USBADDR = 0xde00 DE01 665 FdebugintRx$USBPOW$0$0 == 0xde01 DE01 666 _USBPOW = 0xde01 DE02 667 FdebugintRx$USBIIF$0$0 == 0xde02 DE02 668 _USBIIF = 0xde02 DE04 669 FdebugintRx$USBOIF$0$0 == 0xde04 DE04 670 _USBOIF = 0xde04 DE06 671 FdebugintRx$USBCIF$0$0 == 0xde06 DE06 672 _USBCIF = 0xde06 DE07 673 FdebugintRx$USBIIE$0$0 == 0xde07 DE07 674 _USBIIE = 0xde07 DE09 675 FdebugintRx$USBOIE$0$0 == 0xde09 DE09 676 _USBOIE = 0xde09 DE0B 677 FdebugintRx$USBCIE$0$0 == 0xde0b DE0B 678 _USBCIE = 0xde0b DE0C 679 FdebugintRx$USBFRML$0$0 == 0xde0c DE0C 680 _USBFRML = 0xde0c DE0D 681 FdebugintRx$USBFRMH$0$0 == 0xde0d DE0D 682 _USBFRMH = 0xde0d DE0E 683 FdebugintRx$USBINDEX$0$0 == 0xde0e DE0E 684 _USBINDEX = 0xde0e DE10 685 FdebugintRx$USBMAXI$0$0 == 0xde10 DE10 686 _USBMAXI = 0xde10 DE11 687 FdebugintRx$USBCSIL$0$0 == 0xde11 DE11 688 _USBCSIL = 0xde11 DE12 689 FdebugintRx$USBCSIH$0$0 == 0xde12 DE12 690 _USBCSIH = 0xde12 DE13 691 FdebugintRx$USBMAXO$0$0 == 0xde13 DE13 692 _USBMAXO = 0xde13 DE14 693 FdebugintRx$USBCSOL$0$0 == 0xde14 DE14 694 _USBCSOL = 0xde14 DE15 695 FdebugintRx$USBCSOH$0$0 == 0xde15 DE15 696 _USBCSOH = 0xde15 DE16 697 FdebugintRx$USBCNTL$0$0 == 0xde16 DE16 698 _USBCNTL = 0xde16 DE17 699 FdebugintRx$USBCNTH$0$0 == 0xde17 DE17 700 _USBCNTH = 0xde17 DE20 701 FdebugintRx$USBF0$0$0 == 0xde20 DE20 702 _USBF0 = 0xde20 DE22 703 FdebugintRx$USBF1$0$0 == 0xde22 DE22 704 _USBF1 = 0xde22 DE24 705 FdebugintRx$USBF2$0$0 == 0xde24 DE24 706 _USBF2 = 0xde24 DE26 707 FdebugintRx$USBF3$0$0 == 0xde26 DE26 708 _USBF3 = 0xde26 DE28 709 FdebugintRx$USBF4$0$0 == 0xde28 DE28 710 _USBF4 = 0xde28 DE2A 711 FdebugintRx$USBF5$0$0 == 0xde2a DE2A 712 _USBF5 = 0xde2a 0000 713 G$report$0$0==. 0000 714 _report:: 0000 715 .ds 600 716 ;-------------------------------------------------------- 717 ; absolute external ram data 718 ;-------------------------------------------------------- 719 .area XABS (ABS,XDATA) 720 ;-------------------------------------------------------- 721 ; external initialized ram data 722 ;-------------------------------------------------------- 723 .area XISEG (XDATA) 724 .area HOME (CODE) 725 .area GSINIT0 (CODE) 726 .area GSINIT1 (CODE) 727 .area GSINIT2 (CODE) 728 .area GSINIT3 (CODE) 729 .area GSINIT4 (CODE) 730 .area GSINIT5 (CODE) 731 .area GSINIT (CODE) 732 .area GSFINAL (CODE) 733 .area CSEG (CODE) 734 ;-------------------------------------------------------- 735 ; interrupt vector 736 ;-------------------------------------------------------- 737 .area HOME (CODE) 0000 738 __interrupt_vect: 0000 02s00r00 739 ljmp __sdcc_gsinit_startup 0003 32 740 reti 0004 741 .ds 7 000B 32 742 reti 000C 743 .ds 7 0013 32 744 reti 0014 745 .ds 7 001B 32 746 reti 001C 747 .ds 7 0023 32 748 reti 0024 749 .ds 7 002B 32 750 reti 002C 751 .ds 7 0033 32 752 reti 0034 753 .ds 7 003B 32 754 reti 003C 755 .ds 7 0043 32 756 reti 0044 757 .ds 7 004B 32 758 reti 004C 759 .ds 7 0053 32 760 reti 0054 761 .ds 7 005B 32 762 reti 005C 763 .ds 7 0063 02s00r00 764 ljmp _ISR_T4 0066 765 .ds 5 006B 32 766 reti 006C 767 .ds 7 0073 32 768 reti 0074 769 .ds 7 007B 32 770 reti 007C 771 .ds 7 0083 02s00r00 772 ljmp _ISR_RF 773 ;-------------------------------------------------------- 774 ; global & static initialisations 775 ;-------------------------------------------------------- 776 .area HOME (CODE) 777 .area GSINIT (CODE) 778 .area GSFINAL (CODE) 779 .area GSINIT (CODE) 780 .globl __sdcc_gsinit_startup 781 .globl __sdcc_program_startup 782 .globl __start__stack 783 .globl __mcs51_genXINIT 784 .globl __mcs51_genXRAMCLEAR 785 .globl __mcs51_genRAMCLEAR 0000 786 G$main$0$0 ==. 0000 787 C$debugintRx.c$21$1$1 ==. 788 ; apps/debugintRx/debugintRx.c:21: uint16 DATA reportLength = 0; 0000 E4 789 clr a 0001 F5*00 790 mov _reportLength,a 0003 F5*01 791 mov (_reportLength + 1),a 0005 792 G$main$0$0 ==. 0005 793 C$debugintRx.c$25$1$1 ==. 794 ; apps/debugintRx/debugintRx.c:25: uint16 DATA reportBytesSent = 0; 0005 E4 795 clr a 0006 F5*02 796 mov _reportBytesSent,a 0008 F5*03 797 mov (_reportBytesSent + 1),a 000A 798 G$main$0$0 ==. 000A 799 C$debugintRx.c$27$1$1 ==. 800 ; apps/debugintRx/debugintRx.c:27: uint8 XDATA *rxpkt = 0; 000A 78r00 801 mov r0,#_rxpkt 000C E4 802 clr a 000D F2 803 movx @r0,a 000E 08 804 inc r0 000F F2 805 movx @r0,a 806 .area GSFINAL (CODE) 0000 02s00r86 807 ljmp __sdcc_program_startup 808 ;-------------------------------------------------------- 809 ; Home 810 ;-------------------------------------------------------- 811 .area HOME (CODE) 812 .area HOME (CODE) 0086 813 __sdcc_program_startup: 0086 12s00r85 814 lcall _main 815 ; return from main will lock up 0089 80 FE 816 sjmp . 817 ;-------------------------------------------------------- 818 ; code 819 ;-------------------------------------------------------- 820 .area CSEG (CODE) 821 ;------------------------------------------------------------ 822 ;Allocation info for local variables in function 'updateLeds' 823 ;------------------------------------------------------------ 824 ;------------------------------------------------------------ 0000 825 G$updateLeds$0$0 ==. 0000 826 C$debugintRx.c$28$0$0 ==. 827 ; apps/debugintRx/debugintRx.c:28: void updateLeds() 828 ; ----------------------------------------- 829 ; function updateLeds 830 ; ----------------------------------------- 0000 831 _updateLeds: 0002 832 ar2 = 0x02 0003 833 ar3 = 0x03 0004 834 ar4 = 0x04 0005 835 ar5 = 0x05 0006 836 ar6 = 0x06 0007 837 ar7 = 0x07 0000 838 ar0 = 0x00 0001 839 ar1 = 0x01 0000 840 C$debugintRx.c$30$1$1 ==. 841 ; apps/debugintRx/debugintRx.c:30: usbShowStatusWithGreenLed(); 0000 842 C$debugintRx.c$33$1$1 ==. 0000 843 XG$updateLeds$0$0 ==. 0000 02s00r00 844 ljmp _usbShowStatusWithGreenLed 845 ;------------------------------------------------------------ 846 ;Allocation info for local variables in function 'putchar' 847 ;------------------------------------------------------------ 848 ;------------------------------------------------------------ 0003 849 G$putchar$0$0 ==. 0003 850 C$debugintRx.c$35$1$1 ==. 851 ; apps/debugintRx/debugintRx.c:35: void putchar(char c) 852 ; ----------------------------------------- 853 ; function putchar 854 ; ----------------------------------------- 0003 855 _putchar: 0003 AA 82 856 mov r2,dpl 0005 857 C$debugintRx.c$37$1$1 ==. 858 ; apps/debugintRx/debugintRx.c:37: report[reportLength] = c; 0005 E5*00 859 mov a,_reportLength 0007 24r00 860 add a,#_report 0009 F5 82 861 mov dpl,a 000B E5*01 862 mov a,(_reportLength + 1) 000D 34s00 863 addc a,#(_report >> 8) 000F F5 83 864 mov dph,a 0011 EA 865 mov a,r2 0012 F0 866 movx @dptr,a 0013 867 C$debugintRx.c$38$1$1 ==. 868 ; apps/debugintRx/debugintRx.c:38: reportLength++; 0013 05*00 869 inc _reportLength 0015 E4 870 clr a 0016 B5*00 02 871 cjne a,_reportLength,00103$ 0019 05*01 872 inc (_reportLength + 1) 001B 873 00103$: 001B 874 C$debugintRx.c$39$1$1 ==. 001B 875 XG$putchar$0$0 ==. 001B 22 876 ret 877 ;------------------------------------------------------------ 878 ;Allocation info for local variables in function 'sendReportIfNeeded' 879 ;------------------------------------------------------------ 880 ;------------------------------------------------------------ 001C 881 G$sendReportIfNeeded$0$0 ==. 001C 882 C$debugintRx.c$41$1$1 ==. 883 ; apps/debugintRx/debugintRx.c:41: void sendReportIfNeeded() 884 ; ----------------------------------------- 885 ; function sendReportIfNeeded 886 ; ----------------------------------------- 001C 887 _sendReportIfNeeded: 001C 888 C$debugintRx.c$46$1$1 ==. 889 ; apps/debugintRx/debugintRx.c:46: reportBytesSent = 0; 001C E4 890 clr a 001D F5*02 891 mov _reportBytesSent,a 001F F5*03 892 mov (_reportBytesSent + 1),a 0021 893 C$debugintRx.c$47$1$1 ==. 894 ; apps/debugintRx/debugintRx.c:47: if (reportLength > 0) 0021 E5*00 895 mov a,_reportLength 0023 45*01 896 orl a,(_reportLength + 1) 0025 60 5D 897 jz 00106$ 0027 898 C$debugintRx.c$49$2$2 ==. 899 ; apps/debugintRx/debugintRx.c:49: bytesToSend = usbComTxAvailable(); 0027 12s00r00 900 lcall _usbComTxAvailable 002A AA 82 901 mov r2,dpl 002C 902 C$debugintRx.c$50$2$2 ==. 903 ; apps/debugintRx/debugintRx.c:50: if (bytesToSend > reportLength - reportBytesSent) 002C E5*00 904 mov a,_reportLength 002E C3 905 clr c 002F 95*02 906 subb a,_reportBytesSent 0031 FB 907 mov r3,a 0032 E5*01 908 mov a,(_reportLength + 1) 0034 95*03 909 subb a,(_reportBytesSent + 1) 0036 FC 910 mov r4,a 0037 8A 05 911 mov ar5,r2 0039 7E 00 912 mov r6,#0x00 003B C3 913 clr c 003C EB 914 mov a,r3 003D 9D 915 subb a,r5 003E EC 916 mov a,r4 003F 9E 917 subb a,r6 0040 50 1F 918 jnc 00102$ 0042 919 C$debugintRx.c$53$3$3 ==. 920 ; apps/debugintRx/debugintRx.c:53: usbComTxSend(report+reportBytesSent, reportLength - reportBytesSent); 0042 E5*02 921 mov a,_reportBytesSent 0044 24r00 922 add a,#_report 0046 F5 82 923 mov dpl,a 0048 E5*03 924 mov a,(_reportBytesSent + 1) 004A 34s00 925 addc a,#(_report >> 8) 004C F5 83 926 mov dph,a 004E AB*00 927 mov r3,_reportLength 0050 AC*02 928 mov r4,_reportBytesSent 0052 EB 929 mov a,r3 0053 C3 930 clr c 0054 9C 931 subb a,r4 0055 78r00 932 mov r0,#_usbComTxSend_PARM_2 0057 F2 933 movx @r0,a 0058 12s00r00 934 lcall _usbComTxSend 005B 935 C$debugintRx.c$54$3$3 ==. 936 ; apps/debugintRx/debugintRx.c:54: reportLength = 0; 005B E4 937 clr a 005C F5*00 938 mov _reportLength,a 005E F5*01 939 mov (_reportLength + 1),a 0060 22 940 ret 0061 941 00102$: 0061 942 C$debugintRx.c$58$3$4 ==. 943 ; apps/debugintRx/debugintRx.c:58: usbComTxSend(report+reportBytesSent, bytesToSend); 0061 E5*02 944 mov a,_reportBytesSent 0063 24r00 945 add a,#_report 0065 F5 82 946 mov dpl,a 0067 E5*03 947 mov a,(_reportBytesSent + 1) 0069 34s00 948 addc a,#(_report >> 8) 006B F5 83 949 mov dph,a 006D 78r00 950 mov r0,#_usbComTxSend_PARM_2 006F EA 951 mov a,r2 0070 F2 952 movx @r0,a 0071 C0 02 953 push ar2 0073 12s00r00 954 lcall _usbComTxSend 0076 D0 02 955 pop ar2 0078 956 C$debugintRx.c$59$3$4 ==. 957 ; apps/debugintRx/debugintRx.c:59: reportBytesSent += bytesToSend; 0078 7B 00 958 mov r3,#0x00 007A EA 959 mov a,r2 007B 25*02 960 add a,_reportBytesSent 007D F5*02 961 mov _reportBytesSent,a 007F EB 962 mov a,r3 0080 35*03 963 addc a,(_reportBytesSent + 1) 0082 F5*03 964 mov (_reportBytesSent + 1),a 0084 965 00106$: 0084 966 C$debugintRx.c$65$2$1 ==. 0084 967 XG$sendReportIfNeeded$0$0 ==. 0084 22 968 ret 969 ;------------------------------------------------------------ 970 ;Allocation info for local variables in function 'main' 971 ;------------------------------------------------------------ 972 ;------------------------------------------------------------ 0085 973 G$main$0$0 ==. 0085 974 C$debugintRx.c$66$2$1 ==. 975 ; apps/debugintRx/debugintRx.c:66: void main(){ 976 ; ----------------------------------------- 977 ; function main 978 ; ----------------------------------------- 0085 979 _main: 0085 980 C$debugintRx.c$71$1$1 ==. 981 ; apps/debugintRx/debugintRx.c:71: systemInit(); 0085 12s00r00 982 lcall _systemInit 0088 983 C$debugintRx.c$72$1$1 ==. 984 ; apps/debugintRx/debugintRx.c:72: usbInit(); 0088 12s00r00 985 lcall _usbInit 008B 986 C$debugintRx.c$74$1$1 ==. 987 ; apps/debugintRx/debugintRx.c:74: radioLinkInit(); 008B 12s00r00 988 lcall _radioLinkInit 008E 989 C$debugintRx.c$75$1$1 ==. 990 ; apps/debugintRx/debugintRx.c:75: while(!radioLinkConnected()){ 008E 991 00101$: 008E 12s00r00 992 lcall _radioLinkConnected 0091 40 0B 993 jc 00103$ 0093 994 C$debugintRx.c$76$2$2 ==. 995 ; apps/debugintRx/debugintRx.c:76: boardService(); 0093 12s00r00 996 lcall _boardService 0096 997 C$debugintRx.c$77$2$2 ==. 998 ; apps/debugintRx/debugintRx.c:77: usbComService(); 0096 12s00r00 999 lcall _usbComService 0099 1000 C$debugintRx.c$78$3$3 ==. 1001 ; apps/debugintRx/debugintRx.c:78: LED_RED(1); 0099 43 FF 02 1002 orl _P2DIR,#0x02 009C 80 F0 1003 sjmp 00101$ 009E 1004 00103$: 009E 1005 C$debugintRx.c$80$2$4 ==. 1006 ; apps/debugintRx/debugintRx.c:80: LED_RED(0); 009E 53 FF FD 1007 anl _P2DIR,#0xFD 00A1 1008 C$debugintRx.c$81$1$1 ==. 1009 ; apps/debugintRx/debugintRx.c:81: while(1){ 00A1 1010 00112$: 00A1 1011 C$debugintRx.c$83$2$5 ==. 1012 ; apps/debugintRx/debugintRx.c:83: usbComService(); 00A1 12s00r00 1013 lcall _usbComService 00A4 1014 C$debugintRx.c$84$2$5 ==. 1015 ; apps/debugintRx/debugintRx.c:84: boardService(); 00A4 12s00r00 1016 lcall _boardService 00A7 1017 C$debugintRx.c$85$2$5 ==. 1018 ; apps/debugintRx/debugintRx.c:85: rxpkt = radioLinkRxCurrentPacket(); 00A7 12s00r00 1019 lcall _radioLinkRxCurrentPacket 00AA E5 82 1020 mov a,dpl 00AC 85 83 F0 1021 mov b,dph 00AF 78r00 1022 mov r0,#_rxpkt 00B1 F2 1023 movx @r0,a 00B2 08 1024 inc r0 00B3 E5 F0 1025 mov a,b 00B5 F2 1026 movx @r0,a 00B6 1027 C$debugintRx.c$86$2$5 ==. 1028 ; apps/debugintRx/debugintRx.c:86: updateLeds(); 00B6 12s00r00 1029 lcall _updateLeds 00B9 1030 C$debugintRx.c$90$2$5 ==. 1031 ; apps/debugintRx/debugintRx.c:90: if(rxpkt !=0){ 00B9 78r00 1032 mov r0,#_rxpkt 00BB E2 1033 movx a,@r0 00BC F5 F0 1034 mov b,a 00BE 08 1035 inc r0 00BF E2 1036 movx a,@r0 00C0 45 F0 1037 orl a,b 00C2 60 DD 1038 jz 00112$ 00C4 1039 C$debugintRx.c$91$4$7 ==. 1040 ; apps/debugintRx/debugintRx.c:91: LED_RED_TOGGLE(); 00C4 63 FF 02 1041 xrl _P2DIR,#0x02 00C7 1042 C$debugintRx.c$92$3$6 ==. 1043 ; apps/debugintRx/debugintRx.c:92: pktlen = rxpkt[0]; 00C7 78r00 1044 mov r0,#_rxpkt 00C9 E2 1045 movx a,@r0 00CA F5 82 1046 mov dpl,a 00CC 08 1047 inc r0 00CD E2 1048 movx a,@r0 00CE F5 83 1049 mov dph,a 00D0 E0 1050 movx a,@dptr 00D1 FA 1051 mov r2,a 00D2 1052 C$debugintRx.c$93$3$6 ==. 1053 ; apps/debugintRx/debugintRx.c:93: pkttype = radioLinkRxCurrentPayloadType(); 00D2 C0 02 1054 push ar2 00D4 12s00r00 1055 lcall _radioLinkRxCurrentPayloadType 00D7 AB 82 1056 mov r3,dpl 00D9 D0 02 1057 pop ar2 00DB 1058 C$debugintRx.c$94$3$6 ==. 1059 ; apps/debugintRx/debugintRx.c:94: if(pkttype == CANMSGTYPE){ 00DB BB 02 60 1060 cjne r3,#0x02,00107$ 00DE 1061 C$debugintRx.c$95$4$8 ==. 1062 ; apps/debugintRx/debugintRx.c:95: printf("CAN MESSAGE\n"); 00DE C0 02 1063 push ar2 00E0 74r00 1064 mov a,#__str_0 00E2 C0 E0 1065 push acc 00E4 74s00 1066 mov a,#(__str_0 >> 8) 00E6 C0 E0 1067 push acc 00E8 74 80 1068 mov a,#0x80 00EA C0 E0 1069 push acc 00EC 12s00r00 1070 lcall _printf 00EF 15 81 1071 dec sp 00F1 15 81 1072 dec sp 00F3 15 81 1073 dec sp 00F5 D0 02 1074 pop ar2 00F7 1075 C$debugintRx.c$96$1$1 ==. 1076 ; apps/debugintRx/debugintRx.c:96: for(i=0;i> 8) 0128 C0 E0 1111 push acc 012A 74 80 1112 mov a,#0x80 012C C0 E0 1113 push acc 012E 12s00r00 1114 lcall _printf 0131 E5 81 1115 mov a,sp 0133 24 FB 1116 add a,#0xfb 0135 F5 81 1117 mov sp,a 0137 D0 04 1118 pop ar4 0139 D0 02 1119 pop ar2 013B 1120 C$debugintRx.c$96$4$8 ==. 1121 ; apps/debugintRx/debugintRx.c:96: for(i=0;i> 8) 014C C0 E0 1137 push acc 014E 74 80 1138 mov a,#0x80 0150 C0 E0 1139 push acc 0152 12s00r00 1140 lcall _printf 0155 15 81 1141 dec sp 0157 15 81 1142 dec sp 0159 15 81 1143 dec sp 015B 1144 C$debugintRx.c$102$4$10 ==. 1145 ; apps/debugintRx/debugintRx.c:102: printf("accelX is : %d \n",*(short *) (rxpkt+1)); 015B 78r00 1146 mov r0,#_rxpkt 015D E2 1147 movx a,@r0 015E 24 01 1148 add a,#0x01 0160 F5 82 1149 mov dpl,a 0162 08 1150 inc r0 0163 E2 1151 movx a,@r0 0164 34 00 1152 addc a,#0x00 0166 F5 83 1153 mov dph,a 0168 E0 1154 movx a,@dptr 0169 FA 1155 mov r2,a 016A A3 1156 inc dptr 016B E0 1157 movx a,@dptr 016C FB 1158 mov r3,a 016D C0 02 1159 push ar2 016F C0 03 1160 push ar3 0171 74r20 1161 mov a,#__str_3 0173 C0 E0 1162 push acc 0175 74s00 1163 mov a,#(__str_3 >> 8) 0177 C0 E0 1164 push acc 0179 74 80 1165 mov a,#0x80 017B C0 E0 1166 push acc 017D 12s00r00 1167 lcall _printf 0180 E5 81 1168 mov a,sp 0182 24 FB 1169 add a,#0xfb 0184 F5 81 1170 mov sp,a 0186 1171 C$debugintRx.c$103$4$10 ==. 1172 ; apps/debugintRx/debugintRx.c:103: printf("accelY is : %d \n",*(short *) (rxpkt+3)); 0186 78r00 1173 mov r0,#_rxpkt 0188 E2 1174 movx a,@r0 0189 24 03 1175 add a,#0x03 018B F5 82 1176 mov dpl,a 018D 08 1177 inc r0 018E E2 1178 movx a,@r0 018F 34 00 1179 addc a,#0x00 0191 F5 83 1180 mov dph,a 0193 E0 1181 movx a,@dptr 0194 FA 1182 mov r2,a 0195 A3 1183 inc dptr 0196 E0 1184 movx a,@dptr 0197 FB 1185 mov r3,a 0198 C0 02 1186 push ar2 019A C0 03 1187 push ar3 019C 74r31 1188 mov a,#__str_4 019E C0 E0 1189 push acc 01A0 74s00 1190 mov a,#(__str_4 >> 8) 01A2 C0 E0 1191 push acc 01A4 74 80 1192 mov a,#0x80 01A6 C0 E0 1193 push acc 01A8 12s00r00 1194 lcall _printf 01AB E5 81 1195 mov a,sp 01AD 24 FB 1196 add a,#0xfb 01AF F5 81 1197 mov sp,a 01B1 1198 C$debugintRx.c$104$4$10 ==. 1199 ; apps/debugintRx/debugintRx.c:104: printf("accelZ is : %d \n",*(short *) (rxpkt+5)); 01B1 78r00 1200 mov r0,#_rxpkt 01B3 E2 1201 movx a,@r0 01B4 24 05 1202 add a,#0x05 01B6 F5 82 1203 mov dpl,a 01B8 08 1204 inc r0 01B9 E2 1205 movx a,@r0 01BA 34 00 1206 addc a,#0x00 01BC F5 83 1207 mov dph,a 01BE E0 1208 movx a,@dptr 01BF FA 1209 mov r2,a 01C0 A3 1210 inc dptr 01C1 E0 1211 movx a,@dptr 01C2 FB 1212 mov r3,a 01C3 C0 02 1213 push ar2 01C5 C0 03 1214 push ar3 01C7 74r42 1215 mov a,#__str_5 01C9 C0 E0 1216 push acc 01CB 74s00 1217 mov a,#(__str_5 >> 8) 01CD C0 E0 1218 push acc 01CF 74 80 1219 mov a,#0x80 01D1 C0 E0 1220 push acc 01D3 12s00r00 1221 lcall _printf 01D6 E5 81 1222 mov a,sp 01D8 24 FB 1223 add a,#0xfb 01DA F5 81 1224 mov sp,a 01DC 1225 00108$: 01DC 1226 C$debugintRx.c$112$3$6 ==. 1227 ; apps/debugintRx/debugintRx.c:112: radioLinkRxDoneWithPacket(); 01DC 12s00r00 1228 lcall _radioLinkRxDoneWithPacket 01DF 1229 C$debugintRx.c$116$3$6 ==. 1230 ; apps/debugintRx/debugintRx.c:116: usbComTxSend(report,reportLength); 01DF 78r00 1231 mov r0,#_usbComTxSend_PARM_2 01E1 E5*00 1232 mov a,_reportLength 01E3 F2 1233 movx @r0,a 01E4 90s00r00 1234 mov dptr,#_report 01E7 12s00r00 1235 lcall _usbComTxSend 01EA 1236 C$debugintRx.c$117$3$6 ==. 1237 ; apps/debugintRx/debugintRx.c:117: reportLength = 0; 01EA E4 1238 clr a 01EB F5*00 1239 mov _reportLength,a 01ED F5*01 1240 mov (_reportLength + 1),a 01EF 1241 C$debugintRx.c$123$1$1 ==. 01EF 1242 XG$main$0$0 ==. 01EF 02s00rA1 1243 ljmp 00112$ 1244 .area CSEG (CODE) 1245 .area CONST (CODE) 0000 1246 FdebugintRx$_str_0$0$0 == . 0000 1247 __str_0: 0000 43 41 4E 20 4D 45 1248 .ascii "CAN MESSAGE" 53 53 41 47 45 000B 0A 1249 .db 0x0A 000C 00 1250 .db 0x00 000D 1251 FdebugintRx$_str_1$0$0 == . 000D 1252 __str_1: 000D 30 78 25 78 1253 .ascii "0x%x" 0011 0A 1254 .db 0x0A 0012 00 1255 .db 0x00 0013 1256 FdebugintRx$_str_2$0$0 == . 0013 1257 __str_2: 0013 49 4D 55 20 4D 45 1258 .ascii "IMU MESSAGE" 53 53 41 47 45 001E 0A 1259 .db 0x0A 001F 00 1260 .db 0x00 0020 1261 FdebugintRx$_str_3$0$0 == . 0020 1262 __str_3: 0020 61 63 63 65 6C 58 1263 .ascii "accelX is : %d " 20 69 73 20 3A 20 25 64 20 002F 0A 1264 .db 0x0A 0030 00 1265 .db 0x00 0031 1266 FdebugintRx$_str_4$0$0 == . 0031 1267 __str_4: 0031 61 63 63 65 6C 59 1268 .ascii "accelY is : %d " 20 69 73 20 3A 20 25 64 20 0040 0A 1269 .db 0x0A 0041 00 1270 .db 0x00 0042 1271 FdebugintRx$_str_5$0$0 == . 0042 1272 __str_5: 0042 61 63 63 65 6C 5A 1273 .ascii "accelZ is : %d " 20 69 73 20 3A 20 25 64 20 0051 0A 1274 .db 0x0A 0052 00 1275 .db 0x00 1276 .area XINIT (CODE) 1277 .area CABS (ABS,CODE)