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