??? 05/08/06 21:40 Read: times |
#115826 - Maybe this will illustrate ... Responding to: ???'s previous message |
I have included all of the Temptest.lst file please look at the function call for _ow_reset and that it goes back to the __sdcc_program_startup: address not to a seperate code location for the ow_reset function - and so why is my code not getting combined into one file for me to run? What else would you like to see to give me a hint?
1 ;-------------------------------------------------------- 2 ; File Created by SDCC : FreeWare ANSI-C Compiler 3 ; Version 2.5.6 #1249 (Apr 17 2006) 4 ; This file generated Mon May 08 16:23:15 2006 5 ;-------------------------------------------------------- 6 .module TempTest 7 .optsdcc -mmcs51 --model-medium 8 9 ;-------------------------------------------------------- 10 ; Public variables in this module 11 ;-------------------------------------------------------- 12 .globl _main 13 .globl _TF1 14 .globl _TR1 15 .globl _TF0 16 .globl _TR0 17 .globl _IE1 18 .globl _IT1 19 .globl _IE0 20 .globl _IT0 21 .globl _T2CON_7 22 .globl _T2CON_6 23 .globl _T2CON_5 24 .globl _T2CON_4 25 .globl _T2CON_3 26 .globl _T2CON_2 27 .globl _T2CON_1 28 .globl _T2CON_0 29 .globl _TF2 30 .globl _EXF2 31 .globl _RCLK 32 .globl _TCLK 33 .globl _EXEN2 34 .globl _TR2 35 .globl _C_T2 36 .globl _CP_RL2 37 .globl _SM0 38 .globl _SM1 39 .globl _SM2 40 .globl _REN 41 .globl _TB8 42 .globl _RB8 43 .globl _TI 44 .globl _RI 45 .globl _CY 46 .globl _AC 47 .globl _F0 48 .globl _RS1 49 .globl _RS0 50 .globl _OV 51 .globl _F1 52 .globl _P 53 .globl _RD 54 .globl _WR 55 .globl _T1 56 .globl _T0 57 .globl _INT1 58 .globl _INT0 59 .globl _TXD0 60 .globl _TXD 61 .globl _RXD0 62 .globl _RXD 63 .globl _P3_7 64 .globl _P3_6 65 .globl _P3_5 66 .globl _P3_4 67 .globl _P3_3 68 .globl _P3_2 69 .globl _P3_1 70 .globl _P3_0 71 .globl _P2_7 72 .globl _P2_6 73 .globl _P2_5 74 .globl _P2_4 75 .globl _P2_3 76 .globl _P2_2 77 .globl _P2_1 78 .globl _P2_0 79 .globl _P1_7 80 .globl _P1_6 81 .globl _P1_5 82 .globl _P1_4 83 .globl _P1_3 84 .globl _P1_2 85 .globl _P1_1 86 .globl _P1_0 87 .globl _P0_7 88 .globl _P0_6 89 .globl _P0_5 90 .globl _P0_4 91 .globl _P0_3 92 .globl _P0_2 93 .globl _P0_1 94 .globl _P0_0 95 .globl _PPC 96 .globl _PT2 97 .globl _PS 98 .globl _PT1 99 .globl _PX1 100 .globl _PT0 101 .globl _PX0 102 .globl _EA 103 .globl _EC 104 .globl _ET2 105 .globl _ES 106 .globl _ET1 107 .globl _EX1 108 .globl _ET0 109 .globl _EX0 110 .globl _CF 111 .globl _CR 112 .globl _CCF4 113 .globl _CCF3 114 .globl _CCF2 115 .globl _CCF1 116 .globl _CCF0 117 .globl _BREG_F7 118 .globl _BREG_F6 119 .globl _BREG_F5 120 .globl _BREG_F4 121 .globl _BREG_F3 122 .globl _BREG_F2 123 .globl _BREG_F1 124 .globl _BREG_F0 125 .globl _WDTRST 126 .globl _WDTPRG 127 .globl _TMOD 128 .globl _TL2 129 .globl _TL1 130 .globl _TL0 131 .globl _TH2 132 .globl _TH1 133 .globl _TH0 134 .globl _TCON 135 .globl _T2CON 136 .globl _SP 137 .globl _SCON 138 .globl _SBUF0 139 .globl _SBUF 140 .globl _SADEN0 141 .globl _RCAP2L 142 .globl _RCAP2H 143 .globl _PSW 144 .globl _PCON 145 .globl _P3 146 .globl _P2 147 .globl _P1 148 .globl _P0 149 .globl _IPH 150 .globl _IP 151 .globl _IE 152 .globl _FCON 153 .globl _EETIM 154 .globl _EECON 155 .globl _DP0L 156 .globl _DPL 157 .globl _DP0H 158 .globl _DPH 159 .globl _CMOD 160 .globl _CL 161 .globl _CKCON 162 .globl _CH 163 .globl _CCON 164 .globl _CCAPM4 165 .globl _CCAPM3 166 .globl _CCAPM2 167 .globl _CCAPM1 168 .globl _CCAPM0 169 .globl _CCAP4L 170 .globl _CCAP3L 171 .globl _CCAP2L 172 .globl _CCAP1L 173 .globl _CCAP0L 174 .globl _CCAP4H 175 .globl _CCAP3H 176 .globl _CCAP2H 177 .globl _CCAP1H 178 .globl _CCAP0H 179 .globl _AUXR1 180 .globl _B 181 .globl _AUXR 182 .globl _ACC 183 .globl _tempvar 184 ;-------------------------------------------------------- 185 ; special function registers 186 ;-------------------------------------------------------- 187 .area RSEG (DATA) 00E0 188 G$ACC$0$0 == 0x00e0 00E0 189 _ACC = 0x00e0 008E 190 G$AUXR$0$0 == 0x008e 008E 191 _AUXR = 0x008e 00F0 192 G$B$0$0 == 0x00f0 00F0 193 _B = 0x00f0 00A2 194 G$AUXR1$0$0 == 0x00a2 00A2 195 _AUXR1 = 0x00a2 00FA 196 G$CCAP0H$0$0 == 0x00fa 00FA 197 _CCAP0H = 0x00fa 00FB 198 G$CCAP1H$0$0 == 0x00fb 00FB 199 _CCAP1H = 0x00fb 00FC 200 G$CCAP2H$0$0 == 0x00fc 00FC 201 _CCAP2H = 0x00fc 00FD 202 G$CCAP3H$0$0 == 0x00fd 00FD 203 _CCAP3H = 0x00fd 00FE 204 G$CCAP4H$0$0 == 0x00fe 00FE 205 _CCAP4H = 0x00fe 00EA 206 G$CCAP0L$0$0 == 0x00ea 00EA 207 _CCAP0L = 0x00ea 00EB 208 G$CCAP1L$0$0 == 0x00eb 00EB 209 _CCAP1L = 0x00eb 00EC 210 G$CCAP2L$0$0 == 0x00ec 00EC 211 _CCAP2L = 0x00ec 00ED 212 G$CCAP3L$0$0 == 0x00ed 00ED 213 _CCAP3L = 0x00ed 00EE 214 G$CCAP4L$0$0 == 0x00ee 00EE 215 _CCAP4L = 0x00ee 00DA 216 G$CCAPM0$0$0 == 0x00da 00DA 217 _CCAPM0 = 0x00da 00DB 218 G$CCAPM1$0$0 == 0x00db 00DB 219 _CCAPM1 = 0x00db 00DC 220 G$CCAPM2$0$0 == 0x00dc 00DC 221 _CCAPM2 = 0x00dc 00DD 222 G$CCAPM3$0$0 == 0x00dd 00DD 223 _CCAPM3 = 0x00dd 00DE 224 G$CCAPM4$0$0 == 0x00de 00DE 225 _CCAPM4 = 0x00de 00D8 226 G$CCON$0$0 == 0x00d8 00D8 227 _CCON = 0x00d8 00F9 228 G$CH$0$0 == 0x00f9 00F9 229 _CH = 0x00f9 008F 230 G$CKCON$0$0 == 0x008f 008F 231 _CKCON = 0x008f 00E9 232 G$CL$0$0 == 0x00e9 00E9 233 _CL = 0x00e9 00D9 234 G$CMOD$0$0 == 0x00d9 00D9 235 _CMOD = 0x00d9 0083 236 G$DPH$0$0 == 0x0083 0083 237 _DPH = 0x0083 0083 238 G$DP0H$0$0 == 0x0083 0083 239 _DP0H = 0x0083 0082 240 G$DPL$0$0 == 0x0082 0082 241 _DPL = 0x0082 0082 242 G$DP0L$0$0 == 0x0082 0082 243 _DP0L = 0x0082 00D2 244 G$EECON$0$0 == 0x00d2 00D2 245 _EECON = 0x00d2 00D3 246 G$EETIM$0$0 == 0x00d3 00D3 247 _EETIM = 0x00d3 00D1 248 G$FCON$0$0 == 0x00d1 00D1 249 _FCON = 0x00d1 00A8 250 G$IE$0$0 == 0x00a8 00A8 251 _IE = 0x00a8 00B8 252 G$IP$0$0 == 0x00b8 00B8 253 _IP = 0x00b8 00B7 254 G$IPH$0$0 == 0x00b7 00B7 255 _IPH = 0x00b7 0080 256 G$P0$0$0 == 0x0080 0080 257 _P0 = 0x0080 0090 258 G$P1$0$0 == 0x0090 0090 259 _P1 = 0x0090 00A0 260 G$P2$0$0 == 0x00a0 00A0 261 _P2 = 0x00a0 00B0 262 G$P3$0$0 == 0x00b0 00B0 263 _P3 = 0x00b0 0087 264 G$PCON$0$0 == 0x0087 0087 265 _PCON = 0x0087 00D0 266 G$PSW$0$0 == 0x00d0 00D0 267 _PSW = 0x00d0 00CB 268 G$RCAP2H$0$0 == 0x00cb 00CB 269 _RCAP2H = 0x00cb 00CA 270 G$RCAP2L$0$0 == 0x00ca 00CA 271 _RCAP2L = 0x00ca 00B9 272 G$SADEN0$0$0 == 0x00b9 00B9 273 _SADEN0 = 0x00b9 0099 274 G$SBUF$0$0 == 0x0099 0099 275 _SBUF = 0x0099 0099 276 G$SBUF0$0$0 == 0x0099 0099 277 _SBUF0 = 0x0099 0098 278 G$SCON$0$0 == 0x0098 0098 279 _SCON = 0x0098 0081 280 G$SP$0$0 == 0x0081 0081 281 _SP = 0x0081 00C8 282 G$T2CON$0$0 == 0x00c8 00C8 283 _T2CON = 0x00c8 0088 284 G$TCON$0$0 == 0x0088 0088 285 _TCON = 0x0088 008C 286 G$TH0$0$0 == 0x008c 008C 287 _TH0 = 0x008c 008D 288 G$TH1$0$0 == 0x008d 008D 289 _TH1 = 0x008d 00CD 290 G$TH2$0$0 == 0x00cd 00CD 291 _TH2 = 0x00cd 008A 292 G$TL0$0$0 == 0x008a 008A 293 _TL0 = 0x008a 008B 294 G$TL1$0$0 == 0x008b 008B 295 _TL1 = 0x008b 00CC 296 G$TL2$0$0 == 0x00cc 00CC 297 _TL2 = 0x00cc 0089 298 G$TMOD$0$0 == 0x0089 0089 299 _TMOD = 0x0089 00A7 300 G$WDTPRG$0$0 == 0x00a7 00A7 301 _WDTPRG = 0x00a7 00A6 302 G$WDTRST$0$0 == 0x00a6 00A6 303 _WDTRST = 0x00a6 304 ;-------------------------------------------------------- 305 ; special function bits 306 ;-------------------------------------------------------- 307 .area RSEG (DATA) 00F0 308 G$BREG_F0$0$0 == 0x00f0 00F0 309 _BREG_F0 = 0x00f0 00F1 310 G$BREG_F1$0$0 == 0x00f1 00F1 311 _BREG_F1 = 0x00f1 00F2 312 G$BREG_F2$0$0 == 0x00f2 00F2 313 _BREG_F2 = 0x00f2 00F3 314 G$BREG_F3$0$0 == 0x00f3 00F3 315 _BREG_F3 = 0x00f3 00F4 316 G$BREG_F4$0$0 == 0x00f4 00F4 317 _BREG_F4 = 0x00f4 00F5 318 G$BREG_F5$0$0 == 0x00f5 00F5 319 _BREG_F5 = 0x00f5 00F6 320 G$BREG_F6$0$0 == 0x00f6 00F6 321 _BREG_F6 = 0x00f6 00F7 322 G$BREG_F7$0$0 == 0x00f7 00F7 323 _BREG_F7 = 0x00f7 00D8 324 G$CCF0$0$0 == 0x00d8 00D8 325 _CCF0 = 0x00d8 00D9 326 G$CCF1$0$0 == 0x00d9 00D9 327 _CCF1 = 0x00d9 00DA 328 G$CCF2$0$0 == 0x00da 00DA 329 _CCF2 = 0x00da 00DB 330 G$CCF3$0$0 == 0x00db 00DB 331 _CCF3 = 0x00db 00DC 332 G$CCF4$0$0 == 0x00dc 00DC 333 _CCF4 = 0x00dc 00DE 334 G$CR$0$0 == 0x00de 00DE 335 _CR = 0x00de 00DF 336 G$CF$0$0 == 0x00df 00DF 337 _CF = 0x00df 00A8 338 G$EX0$0$0 == 0x00a8 00A8 339 _EX0 = 0x00a8 00A9 340 G$ET0$0$0 == 0x00a9 00A9 341 _ET0 = 0x00a9 00AA 342 G$EX1$0$0 == 0x00aa 00AA 343 _EX1 = 0x00aa 00AB 344 G$ET1$0$0 == 0x00ab 00AB 345 _ET1 = 0x00ab 00AC 346 G$ES$0$0 == 0x00ac 00AC 347 _ES = 0x00ac 00AD 348 G$ET2$0$0 == 0x00ad 00AD 349 _ET2 = 0x00ad 00AE 350 G$EC$0$0 == 0x00ae 00AE 351 _EC = 0x00ae 00AF 352 G$EA$0$0 == 0x00af 00AF 353 _EA = 0x00af 00B8 354 G$PX0$0$0 == 0x00b8 00B8 355 _PX0 = 0x00b8 00B9 356 G$PT0$0$0 == 0x00b9 00B9 357 _PT0 = 0x00b9 00BA 358 G$PX1$0$0 == 0x00ba 00BA 359 _PX1 = 0x00ba 00BB 360 G$PT1$0$0 == 0x00bb 00BB 361 _PT1 = 0x00bb 00BC 362 G$PS$0$0 == 0x00bc 00BC 363 _PS = 0x00bc 00BD 364 G$PT2$0$0 == 0x00bd 00BD 365 _PT2 = 0x00bd 00BE 366 G$PPC$0$0 == 0x00be 00BE 367 _PPC = 0x00be 0080 368 G$P0_0$0$0 == 0x0080 0080 369 _P0_0 = 0x0080 0081 370 G$P0_1$0$0 == 0x0081 0081 371 _P0_1 = 0x0081 0082 372 G$P0_2$0$0 == 0x0082 0082 373 _P0_2 = 0x0082 0083 374 G$P0_3$0$0 == 0x0083 0083 375 _P0_3 = 0x0083 0084 376 G$P0_4$0$0 == 0x0084 0084 377 _P0_4 = 0x0084 0085 378 G$P0_5$0$0 == 0x0085 0085 379 _P0_5 = 0x0085 0086 380 G$P0_6$0$0 == 0x0086 0086 381 _P0_6 = 0x0086 0087 382 G$P0_7$0$0 == 0x0087 0087 383 _P0_7 = 0x0087 0090 384 G$P1_0$0$0 == 0x0090 0090 385 _P1_0 = 0x0090 0091 386 G$P1_1$0$0 == 0x0091 0091 387 _P1_1 = 0x0091 0092 388 G$P1_2$0$0 == 0x0092 0092 389 _P1_2 = 0x0092 0093 390 G$P1_3$0$0 == 0x0093 0093 391 _P1_3 = 0x0093 0094 392 G$P1_4$0$0 == 0x0094 0094 393 _P1_4 = 0x0094 0095 394 G$P1_5$0$0 == 0x0095 0095 395 _P1_5 = 0x0095 0096 396 G$P1_6$0$0 == 0x0096 0096 397 _P1_6 = 0x0096 0097 398 G$P1_7$0$0 == 0x0097 0097 399 _P1_7 = 0x0097 00A0 400 G$P2_0$0$0 == 0x00a0 00A0 401 _P2_0 = 0x00a0 00A1 402 G$P2_1$0$0 == 0x00a1 00A1 403 _P2_1 = 0x00a1 00A2 404 G$P2_2$0$0 == 0x00a2 00A2 405 _P2_2 = 0x00a2 00A3 406 G$P2_3$0$0 == 0x00a3 00A3 407 _P2_3 = 0x00a3 00A4 408 G$P2_4$0$0 == 0x00a4 00A4 409 _P2_4 = 0x00a4 00A5 410 G$P2_5$0$0 == 0x00a5 00A5 411 _P2_5 = 0x00a5 00A6 412 G$P2_6$0$0 == 0x00a6 00A6 413 _P2_6 = 0x00a6 00A7 414 G$P2_7$0$0 == 0x00a7 00A7 415 _P2_7 = 0x00a7 00B0 416 G$P3_0$0$0 == 0x00b0 00B0 417 _P3_0 = 0x00b0 00B1 418 G$P3_1$0$0 == 0x00b1 00B1 419 _P3_1 = 0x00b1 00B2 420 G$P3_2$0$0 == 0x00b2 00B2 421 _P3_2 = 0x00b2 00B3 422 G$P3_3$0$0 == 0x00b3 00B3 423 _P3_3 = 0x00b3 00B4 424 G$P3_4$0$0 == 0x00b4 00B4 425 _P3_4 = 0x00b4 00B5 426 G$P3_5$0$0 == 0x00b5 00B5 427 _P3_5 = 0x00b5 00B6 428 G$P3_6$0$0 == 0x00b6 00B6 429 _P3_6 = 0x00b6 00B7 430 G$P3_7$0$0 == 0x00b7 00B7 431 _P3_7 = 0x00b7 00B0 432 G$RXD$0$0 == 0x00b0 00B0 433 _RXD = 0x00b0 00B0 434 G$RXD0$0$0 == 0x00b0 00B0 435 _RXD0 = 0x00b0 00B1 436 G$TXD$0$0 == 0x00b1 00B1 437 _TXD = 0x00b1 00B1 438 G$TXD0$0$0 == 0x00b1 00B1 439 _TXD0 = 0x00b1 00B2 440 G$INT0$0$0 == 0x00b2 00B2 441 _INT0 = 0x00b2 00B3 442 G$INT1$0$0 == 0x00b3 00B3 443 _INT1 = 0x00b3 00B4 444 G$T0$0$0 == 0x00b4 00B4 445 _T0 = 0x00b4 00B5 446 G$T1$0$0 == 0x00b5 00B5 447 _T1 = 0x00b5 00B6 448 G$WR$0$0 == 0x00b6 00B6 449 _WR = 0x00b6 00B7 450 G$RD$0$0 == 0x00b7 00B7 451 _RD = 0x00b7 00D0 452 G$P$0$0 == 0x00d0 00D0 453 _P = 0x00d0 00D1 454 G$F1$0$0 == 0x00d1 00D1 455 _F1 = 0x00d1 00D2 456 G$OV$0$0 == 0x00d2 00D2 457 _OV = 0x00d2 00D3 458 G$RS0$0$0 == 0x00d3 00D3 459 _RS0 = 0x00d3 00D4 460 G$RS1$0$0 == 0x00d4 00D4 461 _RS1 = 0x00d4 00D5 462 G$F0$0$0 == 0x00d5 00D5 463 _F0 = 0x00d5 00D6 464 G$AC$0$0 == 0x00d6 00D6 465 _AC = 0x00d6 00D7 466 G$CY$0$0 == 0x00d7 00D7 467 _CY = 0x00d7 0098 468 G$RI$0$0 == 0x0098 0098 469 _RI = 0x0098 0099 470 G$TI$0$0 == 0x0099 0099 471 _TI = 0x0099 009A 472 G$RB8$0$0 == 0x009a 009A 473 _RB8 = 0x009a 009B 474 G$TB8$0$0 == 0x009b 009B 475 _TB8 = 0x009b 009C 476 G$REN$0$0 == 0x009c 009C 477 _REN = 0x009c 009D 478 G$SM2$0$0 == 0x009d 009D 479 _SM2 = 0x009d 009E 480 G$SM1$0$0 == 0x009e 009E 481 _SM1 = 0x009e 009F 482 G$SM0$0$0 == 0x009f 009F 483 _SM0 = 0x009f 00C8 484 G$CP_RL2$0$0 == 0x00c8 00C8 485 _CP_RL2 = 0x00c8 00C9 486 G$C_T2$0$0 == 0x00c9 00C9 487 _C_T2 = 0x00c9 00CA 488 G$TR2$0$0 == 0x00ca 00CA 489 _TR2 = 0x00ca 00CB 490 G$EXEN2$0$0 == 0x00cb 00CB 491 _EXEN2 = 0x00cb 00CC 492 G$TCLK$0$0 == 0x00cc 00CC 493 _TCLK = 0x00cc 00CD 494 G$RCLK$0$0 == 0x00cd 00CD 495 _RCLK = 0x00cd 00CE 496 G$EXF2$0$0 == 0x00ce 00CE 497 _EXF2 = 0x00ce 00CF 498 G$TF2$0$0 == 0x00cf 00CF 499 _TF2 = 0x00cf 00C8 500 G$T2CON_0$0$0 == 0x00c8 00C8 501 _T2CON_0 = 0x00c8 00C9 502 G$T2CON_1$0$0 == 0x00c9 00C9 503 _T2CON_1 = 0x00c9 00CA 504 G$T2CON_2$0$0 == 0x00ca 00CA 505 _T2CON_2 = 0x00ca 00CB 506 G$T2CON_3$0$0 == 0x00cb 00CB 507 _T2CON_3 = 0x00cb 00CC 508 G$T2CON_4$0$0 == 0x00cc 00CC 509 _T2CON_4 = 0x00cc 00CD 510 G$T2CON_5$0$0 == 0x00cd 00CD 511 _T2CON_5 = 0x00cd 00CE 512 G$T2CON_6$0$0 == 0x00ce 00CE 513 _T2CON_6 = 0x00ce 00CF 514 G$T2CON_7$0$0 == 0x00cf 00CF 515 _T2CON_7 = 0x00cf 0088 516 G$IT0$0$0 == 0x0088 0088 517 _IT0 = 0x0088 0089 518 G$IE0$0$0 == 0x0089 0089 519 _IE0 = 0x0089 008A 520 G$IT1$0$0 == 0x008a 008A 521 _IT1 = 0x008a 008B 522 G$IE1$0$0 == 0x008b 008B 523 _IE1 = 0x008b 008C 524 G$TR0$0$0 == 0x008c 008C 525 _TR0 = 0x008c 008D 526 G$TF0$0$0 == 0x008d 008D 527 _TF0 = 0x008d 008E 528 G$TR1$0$0 == 0x008e 008E 529 _TR1 = 0x008e 008F 530 G$TF1$0$0 == 0x008f 008F 531 _TF1 = 0x008f 532 ;-------------------------------------------------------- 533 ; overlayable register banks 534 ;-------------------------------------------------------- 535 .area REG_BANK_0 (REL,OVR,DATA) 0000 536 .ds 8 537 ;-------------------------------------------------------- 538 ; internal ram data 539 ;-------------------------------------------------------- 540 .area DSEG (DATA) 541 ;-------------------------------------------------------- 542 ; overlayable items in internal ram 543 ;-------------------------------------------------------- 544 .area OSEG (OVR,DATA) 545 ;-------------------------------------------------------- 546 ; Stack segment in internal ram 547 ;-------------------------------------------------------- 548 .area SSEG (DATA) 0000 549 __start__stack: 0000 550 .ds 1 551 552 ;-------------------------------------------------------- 553 ; indirectly addressable internal ram data 554 ;-------------------------------------------------------- 555 .area ISEG (DATA) 556 ;-------------------------------------------------------- 557 ; bit data 558 ;-------------------------------------------------------- 559 .area BSEG (BIT) 560 ;-------------------------------------------------------- 561 ; paged external ram data 562 ;-------------------------------------------------------- 563 .area PSEG (PAG,XDATA) 0000 564 G$tempvar$0$0==. 0000 565 _tempvar:: 0000 566 .ds 1 567 ;-------------------------------------------------------- 568 ; external ram data 569 ;-------------------------------------------------------- 570 .area XSEG (XDATA) 571 ;-------------------------------------------------------- 572 ; external initialized ram data 573 ;-------------------------------------------------------- 574 .area XISEG (XDATA) 575 .area HOME (CODE) 576 .area GSINIT0 (CODE) 577 .area GSINIT1 (CODE) 578 .area GSINIT2 (CODE) 579 .area GSINIT3 (CODE) 580 .area GSINIT4 (CODE) 581 .area GSINIT5 (CODE) 582 .area GSINIT (CODE) 583 .area GSFINAL (CODE) 584 .area CSEG (CODE) 585 ;-------------------------------------------------------- 586 ; interrupt vector 587 ;-------------------------------------------------------- 588 .area HOME (CODE) 0000 589 __interrupt_vect: 0000 02s00r00 590 ljmp __sdcc_gsinit_startup 591 ;-------------------------------------------------------- 592 ; global & static initialisations 593 ;-------------------------------------------------------- 594 .area HOME (CODE) 595 .area GSINIT (CODE) 596 .area GSFINAL (CODE) 597 .area GSINIT (CODE) 598 .globl __sdcc_gsinit_startup 599 .globl __sdcc_program_startup 600 .globl __start__stack 601 .globl __mcs51_genXINIT 602 .globl __mcs51_genXRAMCLEAR 603 .globl __mcs51_genRAMCLEAR 604 .area GSFINAL (CODE) 0000 02s00r00 605 ljmp __sdcc_program_startup 606 ;-------------------------------------------------------- 607 ; Home 608 ;-------------------------------------------------------- 609 .area HOME (CODE) 610 .area CSEG (CODE) 0000 611 __sdcc_program_startup: 0000 12s00r05 612 lcall _main 613 ; return from main will lock up 0003 80 FE 614 sjmp . 615 ;-------------------------------------------------------- 616 ; code 617 ;-------------------------------------------------------- 618 .area CSEG (CODE) 619 ;------------------------------------------------------------ 620 ;Allocation info for local variables in function 'main' 621 ;------------------------------------------------------------ 622 ;------------------------------------------------------------ 0005 623 G$main$0$0 ==. 0005 624 C$TempTest.c$51$0$0 ==. 625 ;TempTest.c:51: void main(void) 626 ; ----------------------------------------- 627 ; function main 628 ; ----------------------------------------- 0005 629 _main: 0002 630 ar2 = 0x02 0003 631 ar3 = 0x03 0004 632 ar4 = 0x04 0005 633 ar5 = 0x05 0006 634 ar6 = 0x06 0007 635 ar7 = 0x07 0000 636 ar0 = 0x00 0001 637 ar1 = 0x01 0005 638 C$TempTest.c$54$1$1 ==. 639 ;TempTest.c:54: tempvar = 6239; 640 ; genAssign 0005 78r00 641 mov r0,#_tempvar 0007 74 5F 642 mov a,#0x5F 0009 F2 643 movx @r0,a 000A 644 C$TempTest.c$55$1$1 ==. 645 ;TempTest.c:55: while(1) 000A 646 00102$: 000A 647 C$TempTest.c$57$2$2 ==. 648 ;TempTest.c:57: tempvar = tempvar % 119; 649 ; genMod 000A 78r00 650 mov r0,#_tempvar 651 ; genModOneByte 000C 75 F0 77 652 mov b,#0x77 000F E2 653 movx a,@r0 0010 C2 D5 654 clr F0 0012 30 E7 04 655 jnb acc.7,00107$ 0015 D2 D5 656 setb F0 0017 F4 657 cpl a 0018 04 658 inc a 0019 659 00107$: 0019 84 660 div ab 001A E5 F0 661 mov a,b 001C 30 D5 02 662 jnb F0,00108$ 001F F4 663 cpl a 0020 04 664 inc a 0021 665 00108$: 0021 F2 666 movx @r0,a 0022 667 C$TempTest.c$58$2$2 ==. 668 ;TempTest.c:58: P3_3 = 0; 669 ; genAssign 0022 C2 B3 670 clr _P3_3 0024 671 C$TempTest.c$59$2$2 ==. 672 ;TempTest.c:59: ow_reset(); 673 ; genCall 0024 12s00r00 674 lcall _ow_reset 0027 675 C$TempTest.c$60$2$2 ==. 676 ;TempTest.c:60: P3_3 =1; 677 ; genAssign 0027 D2 B3 678 setb _P3_3 0029 02s00r0A 679 ljmp 00102$ 002C 680 00104$: 002C 681 C$TempTest.c$62$1$1 ==. 002C 682 XG$main$0$0 ==. 002C 22 683 ret 684 .area CSEG (CODE) 685 .area CONST (CODE) 686 .area XINIT (CODE) |
Topic | Author | Date |
Linker problem using SDCC | 01/01/70 00:00 | |
Linker??? | 01/01/70 00:00 | |
Linker! | 01/01/70 00:00 | |
I doubt SDCC would do that | 01/01/70 00:00 | |
Ok not the linker? | 01/01/70 00:00 | |
Sorry forgot to mention that I am using | 01/01/70 00:00 | |
Compiler & Linker | 01/01/70 00:00 | |
Nothing linked | 01/01/70 00:00 | |
SDCC File types | 01/01/70 00:00 | |
Linker problem | 01/01/70 00:00 | |
Then what is the problem? | 01/01/70 00:00 | |
Simulator only sees the "main" program | 01/01/70 00:00 | |
simulator and/or IDE problem? | 01/01/70 00:00 | |
Maybe this will illustrate ... | 01/01/70 00:00 | |
BiPOM says | 01/01/70 00:00 | |
SDCC new release? | 01/01/70 00:00 | |
Q2 | 01/01/70 00:00 | |
SDCC new Release Q2 - | 01/01/70 00:00 | |
where is this code? | 01/01/70 00:00 | |
I used --no-peep SDCC | 01/01/70 00:00 | |
linking multiple files | 01/01/70 00:00 |