startup_stm32f103xb.lst 36.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175



ARM Macro Assembler    Page 1 


    1 00000000         ;******************** (C) COPYRIGHT 2017 STMicroelectron
                       ics ********************
    2 00000000         ;* File Name          : startup_stm32f103xb.s
    3 00000000         ;* Author             : MCD Application Team
    4 00000000         ;* Description        : STM32F103xB Devices vector table
                        for MDK-ARM toolchain. 
    5 00000000         ;*                      This module performs:
    6 00000000         ;*                      - Set the initial SP
    7 00000000         ;*                      - Set the initial PC == Reset_Ha
                       ndler
    8 00000000         ;*                      - Set the vector table entries w
                       ith the exceptions ISR address
    9 00000000         ;*                      - Configure the clock system
   10 00000000         ;*                      - Branches to __main in the C li
                       brary (which eventually
   11 00000000         ;*                        calls main()).
   12 00000000         ;*                      After Reset the Cortex-M3 proces
                       sor is in Thread mode,
   13 00000000         ;*                      priority is Privileged, and the 
                       Stack is set to Main.
   14 00000000         ;*******************************************************
                       ***********************
   15 00000000         ;* @attention
   16 00000000         ;*
   17 00000000         ;* Copyright (c) 2017-2021 STMicroelectronics.
   18 00000000         ;* All rights reserved.
   19 00000000         ;*
   20 00000000         ;* This software is licensed under terms that can be fou
                       nd in the LICENSE file
   21 00000000         ;* in the root directory of this software component.
   22 00000000         ;* If no LICENSE file comes with this software, it is pr
                       ovided AS-IS.
   23 00000000         ;*
   24 00000000         ;*******************************************************
                       ***********************
   25 00000000         
   26 00000000         ; Amount of memory (in bytes) allocated for Stack
   27 00000000         ; Tailor this value to your application needs
   28 00000000         ; <h> Stack Configuration
   29 00000000         ;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
   30 00000000         ; </h>
   31 00000000         
   32 00000000 00000400 
                       Stack_Size
                               EQU              0x400
   33 00000000         
   34 00000000                 AREA             STACK, NOINIT, READWRITE, ALIGN
=3
   35 00000000         Stack_Mem
                               SPACE            Stack_Size
   36 00000400         __initial_sp
   37 00000400         
   38 00000400         
   39 00000400         ; <h> Heap Configuration
   40 00000400         ;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
   41 00000400         ; </h>
   42 00000400         
   43 00000400 00000200 
                       Heap_Size



ARM Macro Assembler    Page 2 


                               EQU              0x200
   44 00000400         
   45 00000400                 AREA             HEAP, NOINIT, READWRITE, ALIGN=
3
   46 00000000         __heap_base
   47 00000000         Heap_Mem
                               SPACE            Heap_Size
   48 00000200         __heap_limit
   49 00000200         
   50 00000200                 PRESERVE8
   51 00000200                 THUMB
   52 00000200         
   53 00000200         
   54 00000200         ; Vector Table Mapped to Address 0 at Reset
   55 00000200                 AREA             RESET, DATA, READONLY
   56 00000000                 EXPORT           __Vectors
   57 00000000                 EXPORT           __Vectors_End
   58 00000000                 EXPORT           __Vectors_Size
   59 00000000         
   60 00000000 00000000 
                       __Vectors
                               DCD              __initial_sp ; Top of Stack
   61 00000004 00000000        DCD              Reset_Handler ; Reset Handler
   62 00000008 00000000        DCD              NMI_Handler ; NMI Handler
   63 0000000C 00000000        DCD              HardFault_Handler ; Hard Fault 
                                                            Handler
   64 00000010 00000000        DCD              MemManage_Handler 
                                                            ; MPU Fault Handler
                                                            
   65 00000014 00000000        DCD              BusFault_Handler 
                                                            ; Bus Fault Handler
                                                            
   66 00000018 00000000        DCD              UsageFault_Handler ; Usage Faul
                                                            t Handler
   67 0000001C 00000000        DCD              0           ; Reserved
   68 00000020 00000000        DCD              0           ; Reserved
   69 00000024 00000000        DCD              0           ; Reserved
   70 00000028 00000000        DCD              0           ; Reserved
   71 0000002C 00000000        DCD              SVC_Handler ; SVCall Handler
   72 00000030 00000000        DCD              DebugMon_Handler ; Debug Monito
                                                            r Handler
   73 00000034 00000000        DCD              0           ; Reserved
   74 00000038 00000000        DCD              PendSV_Handler ; PendSV Handler
                                                            
   75 0000003C 00000000        DCD              SysTick_Handler 
                                                            ; SysTick Handler
   76 00000040         
   77 00000040         ; External Interrupts
   78 00000040 00000000        DCD              WWDG_IRQHandler 
                                                            ; Window Watchdog
   79 00000044 00000000        DCD              PVD_IRQHandler ; PVD through EX
                                                            TI Line detect
   80 00000048 00000000        DCD              TAMPER_IRQHandler ; Tamper
   81 0000004C 00000000        DCD              RTC_IRQHandler ; RTC
   82 00000050 00000000        DCD              FLASH_IRQHandler ; Flash
   83 00000054 00000000        DCD              RCC_IRQHandler ; RCC
   84 00000058 00000000        DCD              EXTI0_IRQHandler ; EXTI Line 0
   85 0000005C 00000000        DCD              EXTI1_IRQHandler ; EXTI Line 1
   86 00000060 00000000        DCD              EXTI2_IRQHandler ; EXTI Line 2



ARM Macro Assembler    Page 3 


   87 00000064 00000000        DCD              EXTI3_IRQHandler ; EXTI Line 3
   88 00000068 00000000        DCD              EXTI4_IRQHandler ; EXTI Line 4
   89 0000006C 00000000        DCD              DMA1_Channel1_IRQHandler 
                                                            ; DMA1 Channel 1
   90 00000070 00000000        DCD              DMA1_Channel2_IRQHandler 
                                                            ; DMA1 Channel 2
   91 00000074 00000000        DCD              DMA1_Channel3_IRQHandler 
                                                            ; DMA1 Channel 3
   92 00000078 00000000        DCD              DMA1_Channel4_IRQHandler 
                                                            ; DMA1 Channel 4
   93 0000007C 00000000        DCD              DMA1_Channel5_IRQHandler 
                                                            ; DMA1 Channel 5
   94 00000080 00000000        DCD              DMA1_Channel6_IRQHandler 
                                                            ; DMA1 Channel 6
   95 00000084 00000000        DCD              DMA1_Channel7_IRQHandler 
                                                            ; DMA1 Channel 7
   96 00000088 00000000        DCD              ADC1_2_IRQHandler ; ADC1_2
   97 0000008C 00000000        DCD              USB_HP_CAN1_TX_IRQHandler ; USB
                                                             High Priority or C
                                                            AN1 TX
   98 00000090 00000000        DCD              USB_LP_CAN1_RX0_IRQHandler ; US
                                                            B Low  Priority or 
                                                            CAN1 RX0
   99 00000094 00000000        DCD              CAN1_RX1_IRQHandler ; CAN1 RX1
  100 00000098 00000000        DCD              CAN1_SCE_IRQHandler ; CAN1 SCE
  101 0000009C 00000000        DCD              EXTI9_5_IRQHandler 
                                                            ; EXTI Line 9..5
  102 000000A0 00000000        DCD              TIM1_BRK_IRQHandler 
                                                            ; TIM1 Break
  103 000000A4 00000000        DCD              TIM1_UP_IRQHandler 
                                                            ; TIM1 Update
  104 000000A8 00000000        DCD              TIM1_TRG_COM_IRQHandler ; TIM1 
                                                            Trigger and Commuta
                                                            tion
  105 000000AC 00000000        DCD              TIM1_CC_IRQHandler ; TIM1 Captu
                                                            re Compare
  106 000000B0 00000000        DCD              TIM2_IRQHandler ; TIM2
  107 000000B4 00000000        DCD              TIM3_IRQHandler ; TIM3
  108 000000B8 00000000        DCD              TIM4_IRQHandler ; TIM4
  109 000000BC 00000000        DCD              I2C1_EV_IRQHandler ; I2C1 Event
                                                            
  110 000000C0 00000000        DCD              I2C1_ER_IRQHandler ; I2C1 Error
                                                            
  111 000000C4 00000000        DCD              I2C2_EV_IRQHandler ; I2C2 Event
                                                            
  112 000000C8 00000000        DCD              I2C2_ER_IRQHandler ; I2C2 Error
                                                            
  113 000000CC 00000000        DCD              SPI1_IRQHandler ; SPI1
  114 000000D0 00000000        DCD              SPI2_IRQHandler ; SPI2
  115 000000D4 00000000        DCD              USART1_IRQHandler ; USART1
  116 000000D8 00000000        DCD              USART2_IRQHandler ; USART2
  117 000000DC 00000000        DCD              USART3_IRQHandler ; USART3
  118 000000E0 00000000        DCD              EXTI15_10_IRQHandler 
                                                            ; EXTI Line 15..10
  119 000000E4 00000000        DCD              RTC_Alarm_IRQHandler ; RTC Alar
                                                            m through EXTI Line
                                                            
  120 000000E8 00000000        DCD              USBWakeUp_IRQHandler ; USB Wake
                                                            up from suspend



ARM Macro Assembler    Page 4 


  121 000000EC         __Vectors_End
  122 000000EC         
  123 000000EC 000000EC 
                       __Vectors_Size
                               EQU              __Vectors_End - __Vectors
  124 000000EC         
  125 000000EC                 AREA             |.text|, CODE, READONLY
  126 00000000         
  127 00000000         ; Reset handler
  128 00000000         Reset_Handler
                               PROC
  129 00000000                 EXPORT           Reset_Handler             [WEAK
]
  130 00000000                 IMPORT           __main
  131 00000000                 IMPORT           SystemInit
  132 00000000 4806            LDR              R0, =SystemInit
  133 00000002 4780            BLX              R0
  134 00000004 4806            LDR              R0, =__main
  135 00000006 4700            BX               R0
  136 00000008                 ENDP
  137 00000008         
  138 00000008         ; Dummy Exception Handlers (infinite loops which can be 
                       modified)
  139 00000008         
  140 00000008         NMI_Handler
                               PROC
  141 00000008                 EXPORT           NMI_Handler                [WEA
K]
  142 00000008 E7FE            B                .
  143 0000000A                 ENDP
  145 0000000A         HardFault_Handler
                               PROC
  146 0000000A                 EXPORT           HardFault_Handler          [WEA
K]
  147 0000000A E7FE            B                .
  148 0000000C                 ENDP
  150 0000000C         MemManage_Handler
                               PROC
  151 0000000C                 EXPORT           MemManage_Handler          [WEA
K]
  152 0000000C E7FE            B                .
  153 0000000E                 ENDP
  155 0000000E         BusFault_Handler
                               PROC
  156 0000000E                 EXPORT           BusFault_Handler           [WEA
K]
  157 0000000E E7FE            B                .
  158 00000010                 ENDP
  160 00000010         UsageFault_Handler
                               PROC
  161 00000010                 EXPORT           UsageFault_Handler         [WEA
K]
  162 00000010 E7FE            B                .
  163 00000012                 ENDP
  164 00000012         SVC_Handler
                               PROC
  165 00000012                 EXPORT           SVC_Handler                [WEA
K]
  166 00000012 E7FE            B                .



ARM Macro Assembler    Page 5 


  167 00000014                 ENDP
  169 00000014         DebugMon_Handler
                               PROC
  170 00000014                 EXPORT           DebugMon_Handler           [WEA
K]
  171 00000014 E7FE            B                .
  172 00000016                 ENDP
  173 00000016         PendSV_Handler
                               PROC
  174 00000016                 EXPORT           PendSV_Handler             [WEA
K]
  175 00000016 E7FE            B                .
  176 00000018                 ENDP
  177 00000018         SysTick_Handler
                               PROC
  178 00000018                 EXPORT           SysTick_Handler            [WEA
K]
  179 00000018 E7FE            B                .
  180 0000001A                 ENDP
  181 0000001A         
  182 0000001A         Default_Handler
                               PROC
  183 0000001A         
  184 0000001A                 EXPORT           WWDG_IRQHandler            [WEA
K]
  185 0000001A                 EXPORT           PVD_IRQHandler             [WEA
K]
  186 0000001A                 EXPORT           TAMPER_IRQHandler          [WEA
K]
  187 0000001A                 EXPORT           RTC_IRQHandler             [WEA
K]
  188 0000001A                 EXPORT           FLASH_IRQHandler           [WEA
K]
  189 0000001A                 EXPORT           RCC_IRQHandler             [WEA
K]
  190 0000001A                 EXPORT           EXTI0_IRQHandler           [WEA
K]
  191 0000001A                 EXPORT           EXTI1_IRQHandler           [WEA
K]
  192 0000001A                 EXPORT           EXTI2_IRQHandler           [WEA
K]
  193 0000001A                 EXPORT           EXTI3_IRQHandler           [WEA
K]
  194 0000001A                 EXPORT           EXTI4_IRQHandler           [WEA
K]
  195 0000001A                 EXPORT           DMA1_Channel1_IRQHandler   [WEA
K]
  196 0000001A                 EXPORT           DMA1_Channel2_IRQHandler   [WEA
K]
  197 0000001A                 EXPORT           DMA1_Channel3_IRQHandler   [WEA
K]
  198 0000001A                 EXPORT           DMA1_Channel4_IRQHandler   [WEA
K]
  199 0000001A                 EXPORT           DMA1_Channel5_IRQHandler   [WEA
K]
  200 0000001A                 EXPORT           DMA1_Channel6_IRQHandler   [WEA
K]
  201 0000001A                 EXPORT           DMA1_Channel7_IRQHandler   [WEA
K]



ARM Macro Assembler    Page 6 


  202 0000001A                 EXPORT           ADC1_2_IRQHandler          [WEA
K]
  203 0000001A                 EXPORT           USB_HP_CAN1_TX_IRQHandler  [WEA
K]
  204 0000001A                 EXPORT           USB_LP_CAN1_RX0_IRQHandler [WEA
K]
  205 0000001A                 EXPORT           CAN1_RX1_IRQHandler        [WEA
K]
  206 0000001A                 EXPORT           CAN1_SCE_IRQHandler        [WEA
K]
  207 0000001A                 EXPORT           EXTI9_5_IRQHandler         [WEA
K]
  208 0000001A                 EXPORT           TIM1_BRK_IRQHandler        [WEA
K]
  209 0000001A                 EXPORT           TIM1_UP_IRQHandler         [WEA
K]
  210 0000001A                 EXPORT           TIM1_TRG_COM_IRQHandler    [WEA
K]
  211 0000001A                 EXPORT           TIM1_CC_IRQHandler         [WEA
K]
  212 0000001A                 EXPORT           TIM2_IRQHandler            [WEA
K]
  213 0000001A                 EXPORT           TIM3_IRQHandler            [WEA
K]
  214 0000001A                 EXPORT           TIM4_IRQHandler            [WEA
K]
  215 0000001A                 EXPORT           I2C1_EV_IRQHandler         [WEA
K]
  216 0000001A                 EXPORT           I2C1_ER_IRQHandler         [WEA
K]
  217 0000001A                 EXPORT           I2C2_EV_IRQHandler         [WEA
K]
  218 0000001A                 EXPORT           I2C2_ER_IRQHandler         [WEA
K]
  219 0000001A                 EXPORT           SPI1_IRQHandler            [WEA
K]
  220 0000001A                 EXPORT           SPI2_IRQHandler            [WEA
K]
  221 0000001A                 EXPORT           USART1_IRQHandler          [WEA
K]
  222 0000001A                 EXPORT           USART2_IRQHandler          [WEA
K]
  223 0000001A                 EXPORT           USART3_IRQHandler          [WEA
K]
  224 0000001A                 EXPORT           EXTI15_10_IRQHandler       [WEA
K]
  225 0000001A                 EXPORT           RTC_Alarm_IRQHandler        [WE
AK]
  226 0000001A                 EXPORT           USBWakeUp_IRQHandler       [WEA
K]
  227 0000001A         
  228 0000001A         WWDG_IRQHandler
  229 0000001A         PVD_IRQHandler
  230 0000001A         TAMPER_IRQHandler
  231 0000001A         RTC_IRQHandler
  232 0000001A         FLASH_IRQHandler
  233 0000001A         RCC_IRQHandler
  234 0000001A         EXTI0_IRQHandler
  235 0000001A         EXTI1_IRQHandler



ARM Macro Assembler    Page 7 


  236 0000001A         EXTI2_IRQHandler
  237 0000001A         EXTI3_IRQHandler
  238 0000001A         EXTI4_IRQHandler
  239 0000001A         DMA1_Channel1_IRQHandler
  240 0000001A         DMA1_Channel2_IRQHandler
  241 0000001A         DMA1_Channel3_IRQHandler
  242 0000001A         DMA1_Channel4_IRQHandler
  243 0000001A         DMA1_Channel5_IRQHandler
  244 0000001A         DMA1_Channel6_IRQHandler
  245 0000001A         DMA1_Channel7_IRQHandler
  246 0000001A         ADC1_2_IRQHandler
  247 0000001A         USB_HP_CAN1_TX_IRQHandler
  248 0000001A         USB_LP_CAN1_RX0_IRQHandler
  249 0000001A         CAN1_RX1_IRQHandler
  250 0000001A         CAN1_SCE_IRQHandler
  251 0000001A         EXTI9_5_IRQHandler
  252 0000001A         TIM1_BRK_IRQHandler
  253 0000001A         TIM1_UP_IRQHandler
  254 0000001A         TIM1_TRG_COM_IRQHandler
  255 0000001A         TIM1_CC_IRQHandler
  256 0000001A         TIM2_IRQHandler
  257 0000001A         TIM3_IRQHandler
  258 0000001A         TIM4_IRQHandler
  259 0000001A         I2C1_EV_IRQHandler
  260 0000001A         I2C1_ER_IRQHandler
  261 0000001A         I2C2_EV_IRQHandler
  262 0000001A         I2C2_ER_IRQHandler
  263 0000001A         SPI1_IRQHandler
  264 0000001A         SPI2_IRQHandler
  265 0000001A         USART1_IRQHandler
  266 0000001A         USART2_IRQHandler
  267 0000001A         USART3_IRQHandler
  268 0000001A         EXTI15_10_IRQHandler
  269 0000001A         RTC_Alarm_IRQHandler
  270 0000001A         USBWakeUp_IRQHandler
  271 0000001A         
  272 0000001A E7FE            B                .
  273 0000001C         
  274 0000001C                 ENDP
  275 0000001C         
  276 0000001C                 ALIGN
  277 0000001C         
  278 0000001C         ;*******************************************************
                       ************************
  279 0000001C         ; User Stack and Heap initialization
  280 0000001C         ;*******************************************************
                       ************************
  281 0000001C                 IF               :DEF:__MICROLIB
  282 0000001C         
  283 0000001C                 EXPORT           __initial_sp
  284 0000001C                 EXPORT           __heap_base
  285 0000001C                 EXPORT           __heap_limit
  286 0000001C         
  287 0000001C                 ELSE
  302                          ENDIF
  303 0000001C         
  304 0000001C                 END
              00000000 
              00000000 



ARM Macro Assembler    Page 8 


Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=foc_iap_bootloader\startup_stm32f103xb.d -ofoc_iap_bootloader\star
tup_stm32f103xb.o -I.\RTE\_FOC_IAP_BootLoader -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5
.4.0\CMSIS\Core\Include -ID:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.1.0\Device\I
nclude --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 526"
 --predefine="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --list=startup_st
m32f103xb.lst startup_stm32f103xb.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

STACK 00000000

Symbol: STACK
   Definitions
      At line 34 in file startup_stm32f103xb.s
   Uses
      None
Comment: STACK unused
Stack_Mem 00000000

Symbol: Stack_Mem
   Definitions
      At line 35 in file startup_stm32f103xb.s
   Uses
      None
Comment: Stack_Mem unused
__initial_sp 00000400

Symbol: __initial_sp
   Definitions
      At line 36 in file startup_stm32f103xb.s
   Uses
      At line 60 in file startup_stm32f103xb.s
      At line 283 in file startup_stm32f103xb.s

3 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

HEAP 00000000

Symbol: HEAP
   Definitions
      At line 45 in file startup_stm32f103xb.s
   Uses
      None
Comment: HEAP unused
Heap_Mem 00000000

Symbol: Heap_Mem
   Definitions
      At line 47 in file startup_stm32f103xb.s
   Uses
      None
Comment: Heap_Mem unused
__heap_base 00000000

Symbol: __heap_base
   Definitions
      At line 46 in file startup_stm32f103xb.s
   Uses
      At line 284 in file startup_stm32f103xb.s
Comment: __heap_base used once
__heap_limit 00000200

Symbol: __heap_limit
   Definitions
      At line 48 in file startup_stm32f103xb.s
   Uses
      At line 285 in file startup_stm32f103xb.s
Comment: __heap_limit used once
4 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

RESET 00000000

Symbol: RESET
   Definitions
      At line 55 in file startup_stm32f103xb.s
   Uses
      None
Comment: RESET unused
__Vectors 00000000

Symbol: __Vectors
   Definitions
      At line 60 in file startup_stm32f103xb.s
   Uses
      At line 56 in file startup_stm32f103xb.s
      At line 123 in file startup_stm32f103xb.s

__Vectors_End 000000EC

Symbol: __Vectors_End
   Definitions
      At line 121 in file startup_stm32f103xb.s
   Uses
      At line 57 in file startup_stm32f103xb.s
      At line 123 in file startup_stm32f103xb.s

3 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.text 00000000

Symbol: .text
   Definitions
      At line 125 in file startup_stm32f103xb.s
   Uses
      None
Comment: .text unused
ADC1_2_IRQHandler 0000001A

Symbol: ADC1_2_IRQHandler
   Definitions
      At line 246 in file startup_stm32f103xb.s
   Uses
      At line 96 in file startup_stm32f103xb.s
      At line 202 in file startup_stm32f103xb.s

BusFault_Handler 0000000E

Symbol: BusFault_Handler
   Definitions
      At line 155 in file startup_stm32f103xb.s
   Uses
      At line 65 in file startup_stm32f103xb.s
      At line 156 in file startup_stm32f103xb.s

CAN1_RX1_IRQHandler 0000001A

Symbol: CAN1_RX1_IRQHandler
   Definitions
      At line 249 in file startup_stm32f103xb.s
   Uses
      At line 99 in file startup_stm32f103xb.s
      At line 205 in file startup_stm32f103xb.s

CAN1_SCE_IRQHandler 0000001A

Symbol: CAN1_SCE_IRQHandler
   Definitions
      At line 250 in file startup_stm32f103xb.s
   Uses
      At line 100 in file startup_stm32f103xb.s
      At line 206 in file startup_stm32f103xb.s

DMA1_Channel1_IRQHandler 0000001A

Symbol: DMA1_Channel1_IRQHandler
   Definitions
      At line 239 in file startup_stm32f103xb.s
   Uses
      At line 89 in file startup_stm32f103xb.s
      At line 195 in file startup_stm32f103xb.s

DMA1_Channel2_IRQHandler 0000001A

Symbol: DMA1_Channel2_IRQHandler
   Definitions
      At line 240 in file startup_stm32f103xb.s
   Uses



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols

      At line 90 in file startup_stm32f103xb.s
      At line 196 in file startup_stm32f103xb.s

DMA1_Channel3_IRQHandler 0000001A

Symbol: DMA1_Channel3_IRQHandler
   Definitions
      At line 241 in file startup_stm32f103xb.s
   Uses
      At line 91 in file startup_stm32f103xb.s
      At line 197 in file startup_stm32f103xb.s

DMA1_Channel4_IRQHandler 0000001A

Symbol: DMA1_Channel4_IRQHandler
   Definitions
      At line 242 in file startup_stm32f103xb.s
   Uses
      At line 92 in file startup_stm32f103xb.s
      At line 198 in file startup_stm32f103xb.s

DMA1_Channel5_IRQHandler 0000001A

Symbol: DMA1_Channel5_IRQHandler
   Definitions
      At line 243 in file startup_stm32f103xb.s
   Uses
      At line 93 in file startup_stm32f103xb.s
      At line 199 in file startup_stm32f103xb.s

DMA1_Channel6_IRQHandler 0000001A

Symbol: DMA1_Channel6_IRQHandler
   Definitions
      At line 244 in file startup_stm32f103xb.s
   Uses
      At line 94 in file startup_stm32f103xb.s
      At line 200 in file startup_stm32f103xb.s

DMA1_Channel7_IRQHandler 0000001A

Symbol: DMA1_Channel7_IRQHandler
   Definitions
      At line 245 in file startup_stm32f103xb.s
   Uses
      At line 95 in file startup_stm32f103xb.s
      At line 201 in file startup_stm32f103xb.s

DebugMon_Handler 00000014

Symbol: DebugMon_Handler
   Definitions
      At line 169 in file startup_stm32f103xb.s
   Uses
      At line 72 in file startup_stm32f103xb.s
      At line 170 in file startup_stm32f103xb.s

Default_Handler 0000001A




ARM Macro Assembler    Page 3 Alphabetic symbol ordering
Relocatable symbols

Symbol: Default_Handler
   Definitions
      At line 182 in file startup_stm32f103xb.s
   Uses
      None
Comment: Default_Handler unused
EXTI0_IRQHandler 0000001A

Symbol: EXTI0_IRQHandler
   Definitions
      At line 234 in file startup_stm32f103xb.s
   Uses
      At line 84 in file startup_stm32f103xb.s
      At line 190 in file startup_stm32f103xb.s

EXTI15_10_IRQHandler 0000001A

Symbol: EXTI15_10_IRQHandler
   Definitions
      At line 268 in file startup_stm32f103xb.s
   Uses
      At line 118 in file startup_stm32f103xb.s
      At line 224 in file startup_stm32f103xb.s

EXTI1_IRQHandler 0000001A

Symbol: EXTI1_IRQHandler
   Definitions
      At line 235 in file startup_stm32f103xb.s
   Uses
      At line 85 in file startup_stm32f103xb.s
      At line 191 in file startup_stm32f103xb.s

EXTI2_IRQHandler 0000001A

Symbol: EXTI2_IRQHandler
   Definitions
      At line 236 in file startup_stm32f103xb.s
   Uses
      At line 86 in file startup_stm32f103xb.s
      At line 192 in file startup_stm32f103xb.s

EXTI3_IRQHandler 0000001A

Symbol: EXTI3_IRQHandler
   Definitions
      At line 237 in file startup_stm32f103xb.s
   Uses
      At line 87 in file startup_stm32f103xb.s
      At line 193 in file startup_stm32f103xb.s

EXTI4_IRQHandler 0000001A

Symbol: EXTI4_IRQHandler
   Definitions
      At line 238 in file startup_stm32f103xb.s
   Uses
      At line 88 in file startup_stm32f103xb.s
      At line 194 in file startup_stm32f103xb.s



ARM Macro Assembler    Page 4 Alphabetic symbol ordering
Relocatable symbols


EXTI9_5_IRQHandler 0000001A

Symbol: EXTI9_5_IRQHandler
   Definitions
      At line 251 in file startup_stm32f103xb.s
   Uses
      At line 101 in file startup_stm32f103xb.s
      At line 207 in file startup_stm32f103xb.s

FLASH_IRQHandler 0000001A

Symbol: FLASH_IRQHandler
   Definitions
      At line 232 in file startup_stm32f103xb.s
   Uses
      At line 82 in file startup_stm32f103xb.s
      At line 188 in file startup_stm32f103xb.s

HardFault_Handler 0000000A

Symbol: HardFault_Handler
   Definitions
      At line 145 in file startup_stm32f103xb.s
   Uses
      At line 63 in file startup_stm32f103xb.s
      At line 146 in file startup_stm32f103xb.s

I2C1_ER_IRQHandler 0000001A

Symbol: I2C1_ER_IRQHandler
   Definitions
      At line 260 in file startup_stm32f103xb.s
   Uses
      At line 110 in file startup_stm32f103xb.s
      At line 216 in file startup_stm32f103xb.s

I2C1_EV_IRQHandler 0000001A

Symbol: I2C1_EV_IRQHandler
   Definitions
      At line 259 in file startup_stm32f103xb.s
   Uses
      At line 109 in file startup_stm32f103xb.s
      At line 215 in file startup_stm32f103xb.s

I2C2_ER_IRQHandler 0000001A

Symbol: I2C2_ER_IRQHandler
   Definitions
      At line 262 in file startup_stm32f103xb.s
   Uses
      At line 112 in file startup_stm32f103xb.s
      At line 218 in file startup_stm32f103xb.s

I2C2_EV_IRQHandler 0000001A

Symbol: I2C2_EV_IRQHandler
   Definitions



ARM Macro Assembler    Page 5 Alphabetic symbol ordering
Relocatable symbols

      At line 261 in file startup_stm32f103xb.s
   Uses
      At line 111 in file startup_stm32f103xb.s
      At line 217 in file startup_stm32f103xb.s

MemManage_Handler 0000000C

Symbol: MemManage_Handler
   Definitions
      At line 150 in file startup_stm32f103xb.s
   Uses
      At line 64 in file startup_stm32f103xb.s
      At line 151 in file startup_stm32f103xb.s

NMI_Handler 00000008

Symbol: NMI_Handler
   Definitions
      At line 140 in file startup_stm32f103xb.s
   Uses
      At line 62 in file startup_stm32f103xb.s
      At line 141 in file startup_stm32f103xb.s

PVD_IRQHandler 0000001A

Symbol: PVD_IRQHandler
   Definitions
      At line 229 in file startup_stm32f103xb.s
   Uses
      At line 79 in file startup_stm32f103xb.s
      At line 185 in file startup_stm32f103xb.s

PendSV_Handler 00000016

Symbol: PendSV_Handler
   Definitions
      At line 173 in file startup_stm32f103xb.s
   Uses
      At line 74 in file startup_stm32f103xb.s
      At line 174 in file startup_stm32f103xb.s

RCC_IRQHandler 0000001A

Symbol: RCC_IRQHandler
   Definitions
      At line 233 in file startup_stm32f103xb.s
   Uses
      At line 83 in file startup_stm32f103xb.s
      At line 189 in file startup_stm32f103xb.s

RTC_Alarm_IRQHandler 0000001A

Symbol: RTC_Alarm_IRQHandler
   Definitions
      At line 269 in file startup_stm32f103xb.s
   Uses
      At line 119 in file startup_stm32f103xb.s
      At line 225 in file startup_stm32f103xb.s




ARM Macro Assembler    Page 6 Alphabetic symbol ordering
Relocatable symbols

RTC_IRQHandler 0000001A

Symbol: RTC_IRQHandler
   Definitions
      At line 231 in file startup_stm32f103xb.s
   Uses
      At line 81 in file startup_stm32f103xb.s
      At line 187 in file startup_stm32f103xb.s

Reset_Handler 00000000

Symbol: Reset_Handler
   Definitions
      At line 128 in file startup_stm32f103xb.s
   Uses
      At line 61 in file startup_stm32f103xb.s
      At line 129 in file startup_stm32f103xb.s

SPI1_IRQHandler 0000001A

Symbol: SPI1_IRQHandler
   Definitions
      At line 263 in file startup_stm32f103xb.s
   Uses
      At line 113 in file startup_stm32f103xb.s
      At line 219 in file startup_stm32f103xb.s

SPI2_IRQHandler 0000001A

Symbol: SPI2_IRQHandler
   Definitions
      At line 264 in file startup_stm32f103xb.s
   Uses
      At line 114 in file startup_stm32f103xb.s
      At line 220 in file startup_stm32f103xb.s

SVC_Handler 00000012

Symbol: SVC_Handler
   Definitions
      At line 164 in file startup_stm32f103xb.s
   Uses
      At line 71 in file startup_stm32f103xb.s
      At line 165 in file startup_stm32f103xb.s

SysTick_Handler 00000018

Symbol: SysTick_Handler
   Definitions
      At line 177 in file startup_stm32f103xb.s
   Uses
      At line 75 in file startup_stm32f103xb.s
      At line 178 in file startup_stm32f103xb.s

TAMPER_IRQHandler 0000001A

Symbol: TAMPER_IRQHandler
   Definitions
      At line 230 in file startup_stm32f103xb.s



ARM Macro Assembler    Page 7 Alphabetic symbol ordering
Relocatable symbols

   Uses
      At line 80 in file startup_stm32f103xb.s
      At line 186 in file startup_stm32f103xb.s

TIM1_BRK_IRQHandler 0000001A

Symbol: TIM1_BRK_IRQHandler
   Definitions
      At line 252 in file startup_stm32f103xb.s
   Uses
      At line 102 in file startup_stm32f103xb.s
      At line 208 in file startup_stm32f103xb.s

TIM1_CC_IRQHandler 0000001A

Symbol: TIM1_CC_IRQHandler
   Definitions
      At line 255 in file startup_stm32f103xb.s
   Uses
      At line 105 in file startup_stm32f103xb.s
      At line 211 in file startup_stm32f103xb.s

TIM1_TRG_COM_IRQHandler 0000001A

Symbol: TIM1_TRG_COM_IRQHandler
   Definitions
      At line 254 in file startup_stm32f103xb.s
   Uses
      At line 104 in file startup_stm32f103xb.s
      At line 210 in file startup_stm32f103xb.s

TIM1_UP_IRQHandler 0000001A

Symbol: TIM1_UP_IRQHandler
   Definitions
      At line 253 in file startup_stm32f103xb.s
   Uses
      At line 103 in file startup_stm32f103xb.s
      At line 209 in file startup_stm32f103xb.s

TIM2_IRQHandler 0000001A

Symbol: TIM2_IRQHandler
   Definitions
      At line 256 in file startup_stm32f103xb.s
   Uses
      At line 106 in file startup_stm32f103xb.s
      At line 212 in file startup_stm32f103xb.s

TIM3_IRQHandler 0000001A

Symbol: TIM3_IRQHandler
   Definitions
      At line 257 in file startup_stm32f103xb.s
   Uses
      At line 107 in file startup_stm32f103xb.s
      At line 213 in file startup_stm32f103xb.s

TIM4_IRQHandler 0000001A



ARM Macro Assembler    Page 8 Alphabetic symbol ordering
Relocatable symbols


Symbol: TIM4_IRQHandler
   Definitions
      At line 258 in file startup_stm32f103xb.s
   Uses
      At line 108 in file startup_stm32f103xb.s
      At line 214 in file startup_stm32f103xb.s

USART1_IRQHandler 0000001A

Symbol: USART1_IRQHandler
   Definitions
      At line 265 in file startup_stm32f103xb.s
   Uses
      At line 115 in file startup_stm32f103xb.s
      At line 221 in file startup_stm32f103xb.s

USART2_IRQHandler 0000001A

Symbol: USART2_IRQHandler
   Definitions
      At line 266 in file startup_stm32f103xb.s
   Uses
      At line 116 in file startup_stm32f103xb.s
      At line 222 in file startup_stm32f103xb.s

USART3_IRQHandler 0000001A

Symbol: USART3_IRQHandler
   Definitions
      At line 267 in file startup_stm32f103xb.s
   Uses
      At line 117 in file startup_stm32f103xb.s
      At line 223 in file startup_stm32f103xb.s

USBWakeUp_IRQHandler 0000001A

Symbol: USBWakeUp_IRQHandler
   Definitions
      At line 270 in file startup_stm32f103xb.s
   Uses
      At line 120 in file startup_stm32f103xb.s
      At line 226 in file startup_stm32f103xb.s

USB_HP_CAN1_TX_IRQHandler 0000001A

Symbol: USB_HP_CAN1_TX_IRQHandler
   Definitions
      At line 247 in file startup_stm32f103xb.s
   Uses
      At line 97 in file startup_stm32f103xb.s
      At line 203 in file startup_stm32f103xb.s

USB_LP_CAN1_RX0_IRQHandler 0000001A

Symbol: USB_LP_CAN1_RX0_IRQHandler
   Definitions
      At line 248 in file startup_stm32f103xb.s
   Uses



ARM Macro Assembler    Page 9 Alphabetic symbol ordering
Relocatable symbols

      At line 98 in file startup_stm32f103xb.s
      At line 204 in file startup_stm32f103xb.s

UsageFault_Handler 00000010

Symbol: UsageFault_Handler
   Definitions
      At line 160 in file startup_stm32f103xb.s
   Uses
      At line 66 in file startup_stm32f103xb.s
      At line 161 in file startup_stm32f103xb.s

WWDG_IRQHandler 0000001A

Symbol: WWDG_IRQHandler
   Definitions
      At line 228 in file startup_stm32f103xb.s
   Uses
      At line 78 in file startup_stm32f103xb.s
      At line 184 in file startup_stm32f103xb.s

55 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Absolute symbols

Heap_Size 00000200

Symbol: Heap_Size
   Definitions
      At line 43 in file startup_stm32f103xb.s
   Uses
      At line 47 in file startup_stm32f103xb.s
Comment: Heap_Size used once
Stack_Size 00000400

Symbol: Stack_Size
   Definitions
      At line 32 in file startup_stm32f103xb.s
   Uses
      At line 35 in file startup_stm32f103xb.s
Comment: Stack_Size used once
__Vectors_Size 000000EC

Symbol: __Vectors_Size
   Definitions
      At line 123 in file startup_stm32f103xb.s
   Uses
      At line 58 in file startup_stm32f103xb.s
Comment: __Vectors_Size used once
3 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols

SystemInit 00000000

Symbol: SystemInit
   Definitions
      At line 131 in file startup_stm32f103xb.s
   Uses
      At line 132 in file startup_stm32f103xb.s
Comment: SystemInit used once
__main 00000000

Symbol: __main
   Definitions
      At line 130 in file startup_stm32f103xb.s
   Uses
      At line 134 in file startup_stm32f103xb.s
Comment: __main used once
2 symbols
406 symbols in table