BE-CHTI/PROJ_TROIS/callback.lst
2020-03-21 18:27:02 +01:00

139 lines
3.9 KiB
Text

ARM Macro Assembler Page 1
1 00000000 ; ce programme est pour l'assembleur RealView (Keil)
2 00000000 thumb
3 00000000 area madata, data, readwrite
4 00000000 export echelon
5 00000000 00000000
echelon dcd 0
6 00000004
7 00000004 area moncode, code, readonly
8 00000000 export timer_callback
9 00000000
10 00000000 timer_callback
proc
11 00000000
12 00000000 40010C10
GPIOB_BSRR
equ 0x40010C10 ; Bit Set/Reset reg
ister
13 00000000
14 00000000 4A09 ldr r2, =echelon
15 00000002 6810 ldr r0,[r2]
16 00000004 B138 CBZ r0, misea1
17 00000006
18 00000006
19 00000006 ; mise a zero de PB1
20 00000006 4B09 ldr r3, =GPIOB_BSRR
21 00000008 F44F 3100 mov r1, #0x00020000
22 0000000C 6019 str r1, [r3]
23 0000000E F100 30FF add r0, #-1
24 00000012 6010 str r0,[r2]
25 00000014 E006 B finn
26 00000016
27 00000016 ; mise a 1 de PB1
28 00000016 4B05 misea1 ldr r3, =GPIOB_BSRR
29 00000018 F04F 0102 mov r1, #0x00000002
30 0000001C 6019 str r1, [r3]
31 0000001E F100 0001 add r0, #1
32 00000022 6010 str r0,[r2]
33 00000024 ; N.B. le registre BSRR est write-only, on ne peut pas l
e relire
34 00000024
35 00000024 4770 finn bx lr ;
36 00000026 endp
37 00000026 ;
38 00000026 end
00 00 00000000
40010C10
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=.\obj\callback.d -o.\obj\callback.o -I.\RTE\_Simu -IC:\Users\nmouk
\AppData\Local\Arm\Packs\ARM\CMSIS\5.6.0\CMSIS\Core\Include -IC:\Users\nmouk\Ap
pData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EV
AL SETA 1" --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA
529" --predefine="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --list=callba
ck.lst callback.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
echelon 00000000
Symbol: echelon
Definitions
At line 5 in file callback.s
Uses
At line 4 in file callback.s
At line 14 in file callback.s
madata 00000000
Symbol: madata
Definitions
At line 3 in file callback.s
Uses
None
Comment: madata unused
2 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
finn 00000024
Symbol: finn
Definitions
At line 35 in file callback.s
Uses
At line 25 in file callback.s
Comment: finn used once
misea1 00000016
Symbol: misea1
Definitions
At line 28 in file callback.s
Uses
At line 16 in file callback.s
Comment: misea1 used once
moncode 00000000
Symbol: moncode
Definitions
At line 7 in file callback.s
Uses
None
Comment: moncode unused
timer_callback 00000000
Symbol: timer_callback
Definitions
At line 10 in file callback.s
Uses
At line 8 in file callback.s
Comment: timer_callback used once
4 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Absolute symbols
GPIOB_BSRR 40010C10
Symbol: GPIOB_BSRR
Definitions
At line 12 in file callback.s
Uses
At line 20 in file callback.s
At line 28 in file callback.s
1 symbol
344 symbols in table