adbmsFunctionTest/build/debug/Core/Src/24LC02.lst

169 lines
6.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ARM GAS /tmp/cccAnHZv.s page 1
1 .cpu cortex-m4
2 .arch armv7e-m
3 .fpu fpv4-sp-d16
4 .eabi_attribute 27, 1
5 .eabi_attribute 28, 1
6 .eabi_attribute 20, 1
7 .eabi_attribute 21, 1
8 .eabi_attribute 23, 3
9 .eabi_attribute 24, 1
10 .eabi_attribute 25, 1
11 .eabi_attribute 26, 1
12 .eabi_attribute 30, 1
13 .eabi_attribute 34, 1
14 .eabi_attribute 18, 4
15 .file "24LC02.c"
16 .text
17 .Ltext0:
18 .cfi_sections .debug_frame
19 .file 1 "Core/Src/24LC02.c"
20 .section .text.eeprom_init,"ax",%progbits
21 .align 1
22 .global eeprom_init
23 .syntax unified
24 .thumb
25 .thumb_func
27 eeprom_init:
28 .LFB123:
1:Core/Src/24LC02.c **** #include "24LC02.h"
2:Core/Src/24LC02.c **** #include "ADBMS_Abstraction.h"
3:Core/Src/24LC02.c ****
4:Core/Src/24LC02.c **** #include <stdint.h>
5:Core/Src/24LC02.c ****
6:Core/Src/24LC02.c **** uint8_t eeprom_init() {
29 .loc 1 6 23 view -0
30 .cfi_startproc
31 @ args = 0, pretend = 0, frame = 0
32 @ frame_needed = 0, uses_anonymous_args = 0
33 0000 08B5 push {r3, lr}
34 .cfi_def_cfa_offset 8
35 .cfi_offset 3, -8
36 .cfi_offset 14, -4
7:Core/Src/24LC02.c **** uint8_t StartAddr = 0;
37 .loc 1 7 5 view .LVU1
38 .LVL0:
8:Core/Src/24LC02.c **** uint8_t data = 0;
39 .loc 1 8 5 view .LVU2
9:Core/Src/24LC02.c ****
10:Core/Src/24LC02.c **** return amsWriteComm(EEPROM_ADDR, StartAddr, data);
40 .loc 1 10 5 view .LVU3
41 .loc 1 10 12 is_stmt 0 view .LVU4
42 0002 0022 movs r2, #0
43 0004 1146 mov r1, r2
44 0006 5720 movs r0, #87
45 0008 FFF7FEFF bl amsWriteComm
46 .LVL1:
11:Core/Src/24LC02.c **** }
47 .loc 1 11 1 view .LVU5
ARM GAS /tmp/cccAnHZv.s page 2
48 000c 08BD pop {r3, pc}
49 .cfi_endproc
50 .LFE123:
52 .section .text.eeprom_write,"ax",%progbits
53 .align 1
54 .global eeprom_write
55 .syntax unified
56 .thumb
57 .thumb_func
59 eeprom_write:
60 .LVL2:
61 .LFB124:
12:Core/Src/24LC02.c ****
13:Core/Src/24LC02.c **** uint8_t eeprom_write(uint8_t addr, uint8_t data) {
62 .loc 1 13 50 is_stmt 1 view -0
63 .cfi_startproc
64 @ args = 0, pretend = 0, frame = 0
65 @ frame_needed = 0, uses_anonymous_args = 0
66 .loc 1 13 50 is_stmt 0 view .LVU7
67 0000 08B5 push {r3, lr}
68 .cfi_def_cfa_offset 8
69 .cfi_offset 3, -8
70 .cfi_offset 14, -4
71 0002 0A46 mov r2, r1
14:Core/Src/24LC02.c **** return amsWriteComm(EEPROM_ADDR, addr, data);
72 .loc 1 14 5 is_stmt 1 view .LVU8
73 .loc 1 14 12 is_stmt 0 view .LVU9
74 0004 0146 mov r1, r0
75 .LVL3:
76 .loc 1 14 12 view .LVU10
77 0006 5720 movs r0, #87
78 .LVL4:
79 .loc 1 14 12 view .LVU11
80 0008 FFF7FEFF bl amsWriteComm
81 .LVL5:
15:Core/Src/24LC02.c **** }
82 .loc 1 15 1 view .LVU12
83 000c 08BD pop {r3, pc}
84 .cfi_endproc
85 .LFE124:
87 .section .text.eeprom_read,"ax",%progbits
88 .align 1
89 .global eeprom_read
90 .syntax unified
91 .thumb
92 .thumb_func
94 eeprom_read:
95 .LVL6:
96 .LFB125:
16:Core/Src/24LC02.c ****
17:Core/Src/24LC02.c **** uint8_t eeprom_read(uint8_t addr, uint8_t* data) {
97 .loc 1 17 50 is_stmt 1 view -0
98 .cfi_startproc
99 @ args = 0, pretend = 0, frame = 8
100 @ frame_needed = 0, uses_anonymous_args = 0
101 .loc 1 17 50 is_stmt 0 view .LVU14
102 0000 00B5 push {lr}
ARM GAS /tmp/cccAnHZv.s page 3
103 .cfi_def_cfa_offset 4
104 .cfi_offset 14, -4
105 0002 83B0 sub sp, sp, #12
106 .cfi_def_cfa_offset 16
107 0004 0191 str r1, [sp, #4]
18:Core/Src/24LC02.c **** return amsReadComm(EEPROM_ADDR, addr, &data);
108 .loc 1 18 5 is_stmt 1 view .LVU15
109 .loc 1 18 12 is_stmt 0 view .LVU16
110 0006 01AA add r2, sp, #4
111 0008 0146 mov r1, r0
112 .LVL7:
113 .loc 1 18 12 view .LVU17
114 000a 5720 movs r0, #87
115 .LVL8:
116 .loc 1 18 12 view .LVU18
117 000c FFF7FEFF bl amsReadComm
118 .LVL9:
19:Core/Src/24LC02.c **** }...
119 .loc 1 19 1 view .LVU19
120 0010 03B0 add sp, sp, #12
121 .cfi_def_cfa_offset 4
122 @ sp needed
123 0012 5DF804FB ldr pc, [sp], #4
124 .cfi_endproc
125 .LFE125:
127 .text
128 .Letext0:
129 .file 2 "/home/chiangni/.config/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/arm-
130 .file 3 "/home/chiangni/.config/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/arm-
131 .file 4 "Core/Inc/ADBMS_Abstraction.h"
ARM GAS /tmp/cccAnHZv.s page 4
DEFINED SYMBOLS
*ABS*:00000000 24LC02.c
/tmp/cccAnHZv.s:21 .text.eeprom_init:00000000 $t
/tmp/cccAnHZv.s:27 .text.eeprom_init:00000000 eeprom_init
/tmp/cccAnHZv.s:53 .text.eeprom_write:00000000 $t
/tmp/cccAnHZv.s:59 .text.eeprom_write:00000000 eeprom_write
/tmp/cccAnHZv.s:88 .text.eeprom_read:00000000 $t
/tmp/cccAnHZv.s:94 .text.eeprom_read:00000000 eeprom_read
UNDEFINED SYMBOLS
amsWriteComm
amsReadComm