annotate g23m/objdiff/l1_ext/l1_afunc.notes @ 333:7f0df37b785b

l1p_sync.c: fix for pm_read >> 5 shift
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Oct 2017 08:29:06 +0000
parents 576e684603e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 The result of l1_afunc.c recompilation is identical to the original up until
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 the l1a_clip_txpwr() function, which is the last function in the module.
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 Original 20070608 version of l1_afunc.obj, disassembly of l1a_clip_txpwr():
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 $l1a_clip_txpwr: ; Global
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 ; u_char l1a_clip_txpwr();
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 ; Begin function
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 ; REGPARM r0: u_char supplied_txpwr;
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 ; REGPARM r1: u_short radio_freq;
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 ; REG r1: unsigned "C$21";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 ; REG r1: unsigned "C$22";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 ; REG r1: unsigned "C$23";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 ; REG r2: struct ? *"K$6";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 ; REG r1: u_char "U$41";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 ; REG r1: u_char "U$82";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 ; REG r1: u_char "U$95";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
18 ; REG r1: u_char "U$108";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
19 ; REG r0: u_char power;
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
20 ; REG r1: u_short radio_freq;
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
21 ; REG r0: u_char supplied_txpwr;
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
22 ; REG r3: int "S$20";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
23 ; REG r5: int "S$19";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
24 ; REG r2: unsigned "S$18";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
25 ; REG r1: unsigned "S$17";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
26 ; REG r3: int "S$16";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
27 ; REG r5: int "S$15";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
28 ; REG r2: unsigned "S$14";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
29 ; REG r1: unsigned "S$13";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
30 ; REG r1: int "S$12";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
31 ; REG r5: int "S$11";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
32 ; REG r2: unsigned "S$10";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
33 ; REG r1: unsigned "S$9";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
34 ; REG r3: int "S$8";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
35 ; REG r5: int "S$7";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
36 ; REG r2: unsigned "S$6";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
37 ; REG r1: unsigned "S$5";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
38 ; REG r3: int "S$4";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
39 ; REG r5: int "S$3";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
40 ; REG r2: unsigned "S$2";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
41 ; REG r1: unsigned "S$1";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
42 ; REG r3: unsigned "U$26";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
43 ; REG r3: unsigned "U$26";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
44 ; REG r3: unsigned "U$26";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
45 ; REG r1: u_char "U$22";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
46 ; REG r3: u_char "U$22";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
47 ; REG r4: unsigned "U$30";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
48 ; REG r4: unsigned "U$30";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
49 ; REG r4: unsigned "U$30";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
50 ; REG r4: unsigned "U$30";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
51 ; REG r4: unsigned "U$30";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
52 ; REG r3: unsigned "U$51";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
53 ; REG r3: unsigned "U$51";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
54 ; REG r1: u_char "U$75";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
55 ; REG r1: u_char "U$75";
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
56
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
57 $CODE16: ; label
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
58 490: b530 push {r4, r5, lr}
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
59 ; switch statement
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
60 492: 4a87 ldr r2, =_l1_config ; via 0x6b0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
61 494: 7813 ldrb r3, [r2, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
62 496: 1e5b sub r3, r3, #1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
63 498: 2b01 cmp r3, #1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
64 49a: d800 bhi 0x49e
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
65 49c: e0fa b 0x694 ; GSM or GSM_E
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
66 49e: 3b02 sub r3, #2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
67 4a0: 2b00 cmp r3, #0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
68 4a2: d100 bne 0x4a6
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
69 4a4: e0cf b 0x646 ; PCS1900
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
70 4a6: 3b01 sub r3, #1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
71 4a8: 2b00 cmp r3, #0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
72 4aa: d100 bne 0x4ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
73 4ac: e0a4 b 0x5f8 ; DCS1800
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
74 4ae: 3b01 sub r3, #1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
75 4b0: 2b01 cmp r3, #1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
76 4b2: d968 bls 0x586 ; DUAL or DUAL_EXT
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
77 4b4: 3b02 sub r3, #2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
78 4b6: 2b00 cmp r3, #0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
79 4b8: d03d beq 0x536 ; GSM850
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
80 4ba: 3b01 sub r3, #1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
81 4bc: 2b00 cmp r3, #0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
82 4be: d000 beq 0x4c2 ; DUAL_US
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
83 4c0: e0f5 b 0x6ae ; default - return
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
84 ; case DUAL_US:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
85 4c2: 68d3 ldr r3, [r2, #12] ; 0xc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
86 4c4: 4299 cmp r1, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
87 4c6: d20e bcs 0x4e6
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
88 ; low band (850)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
89 4c8: 4b7c ldr r3, =_MIN_TXPWR_GSM850 ; via 0x6bc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
90 4ca: 497d ldr r1, =_l1a_l1s_com+0x335 ; via 0x6c0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
91 4cc: 7809 ldrb r1, [r1, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
92 4ce: 5c59 ldrb r1, [r3, r1]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
93 4d0: 4288 cmp r0, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
94 4d2: db06 blt 0x4e2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
95 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
96 4d4: 69d1 ldr r1, [r2, #28] ; 0x1c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
97 4d6: 4288 cmp r0, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
98 4d8: d800 bhi 0x4dc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
99 4da: e0e8 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
100 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
101 4dc: 0608 lsl r0, r1, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
102 4de: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
103 4e0: e0e5 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
104 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
105 4e2: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
106 4e4: e0e3 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
107 ; high band (1900)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
108 4e6: 6a54 ldr r4, [r2, #36] ; 0x24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
109 4e8: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
110 4ea: d901 bls 0x4f0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
111 4ec: 1c05 mov r5, r0 (add r5, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
112 4ee: e001 b 0x4f4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
113 4f0: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
114 4f2: 180d add r5, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
115 4f4: 4b73 ldr r3, =_MIN_TXPWR_PCS ; via 0x6c4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
116 4f6: 4974 ldr r1, =_l1a_l1s_com+0x336 ; via 0x6c8
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
117 4f8: 7809 ldrb r1, [r1, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
118 4fa: 5c59 ldrb r1, [r3, r1]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
119 4fc: 42a1 cmp r1, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
120 4fe: d901 bls 0x504
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
121 500: 1c0b mov r3, r1 (add r3, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
122 502: e001 b 0x508
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
123 504: 2320 mov r3, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
124 506: 185b add r3, r3, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
125 508: 429d cmp r5, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
126 50a: db12 blt 0x532
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
127 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
128 50c: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
129 50e: d901 bls 0x514
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
130 510: 1c01 mov r1, r0 (add r1, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
131 512: e001 b 0x518
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
132 514: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
133 516: 1809 add r1, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
134 518: 6a13 ldr r3, [r2, #32] ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
135 51a: 42a3 cmp r3, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
136 51c: d802 bhi 0x524
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
137 51e: 2220 mov r2, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
138 520: 18d2 add r2, r2, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
139 522: e000 b 0x526
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
140 524: 1c1a mov r2, r3 (add r2, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
141 526: 4291 cmp r1, r2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
142 528: d800 bhi 0x52c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
143 52a: e0c0 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
144 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
145 52c: 0618 lsl r0, r3, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
146 52e: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
147 530: e0bd b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
148 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
149 532: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
150 534: e0bb b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
151 ; case GSM850:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
152 536: 6a54 ldr r4, [r2, #36] ; 0x24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
153 538: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
154 53a: d901 bls 0x540
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
155 53c: 1c05 mov r5, r0 (add r5, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
156 53e: e001 b 0x544
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
157 540: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
158 542: 180d add r5, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
159 544: 495d ldr r1, =_MIN_TXPWR_GSM850 ; via 0x6bc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
160 546: 4b5e ldr r3, =_l1a_l1s_com+0x335 ; via 0x6c0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
161 548: 781b ldrb r3, [r3, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
162 54a: 5ccb ldrb r3, [r1, r3]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
163 54c: 42a3 cmp r3, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
164 54e: d901 bls 0x554
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
165 550: 1c19 mov r1, r3 (add r1, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
166 552: e001 b 0x558
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
167 554: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
168 556: 18c9 add r1, r1, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
169 558: 428d cmp r5, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
170 55a: db12 blt 0x582
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
171 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
172 55c: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
173 55e: d901 bls 0x564
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
174 560: 1c01 mov r1, r0 (add r1, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
175 562: e001 b 0x568
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
176 564: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
177 566: 1809 add r1, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
178 568: 69d3 ldr r3, [r2, #28] ; 0x1c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
179 56a: 42a3 cmp r3, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
180 56c: d802 bhi 0x574
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
181 56e: 2220 mov r2, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
182 570: 18d2 add r2, r2, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
183 572: e000 b 0x576
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
184 574: 1c1a mov r2, r3 (add r2, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
185 576: 4291 cmp r1, r2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
186 578: d800 bhi 0x57c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
187 57a: e098 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
188 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
189 57c: 0618 lsl r0, r3, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
190 57e: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
191 580: e095 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
192 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
193 582: 1c18 mov r0, r3 (add r0, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
194 584: e093 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
195 ; case DUAL:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
196 ; case DUAL_EXT:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
197 586: 68d3 ldr r3, [r2, #12] ; 0xc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
198 588: 4299 cmp r1, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
199 58a: d20e bcs 0x5aa
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
200 ; low band (900)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
201 58c: 4b4f ldr r3, =_MIN_TXPWR_GSM ; via 0x6cc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
202 58e: 494c ldr r1, =_l1a_l1s_com+0x335 ; via 0x6c0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
203 590: 7809 ldrb r1, [r1, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
204 592: 5c59 ldrb r1, [r3, r1]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
205 594: 4288 cmp r0, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
206 596: db06 blt 0x5a6
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
207 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
208 598: 69d1 ldr r1, [r2, #28] ; 0x1c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
209 59a: 4288 cmp r0, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
210 59c: d800 bhi 0x5a0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
211 59e: e086 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
212 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
213 5a0: 0608 lsl r0, r1, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
214 5a2: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
215 5a4: e083 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
216 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
217 5a6: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
218 5a8: e081 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
219 ; high band (1800)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
220 5aa: 6a54 ldr r4, [r2, #36] ; 0x24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
221 5ac: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
222 5ae: d901 bls 0x5b4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
223 5b0: 1c05 mov r5, r0 (add r5, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
224 5b2: e001 b 0x5b8
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
225 5b4: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
226 5b6: 180d add r5, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
227 5b8: 4b45 ldr r3, =_MIN_TXPWR_DCS ; via 0x6d0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
228 5ba: 4943 ldr r1, =_l1a_l1s_com+0x336 ; via 0x6c8
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
229 5bc: 7809 ldrb r1, [r1, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
230 5be: 5c59 ldrb r1, [r3, r1]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
231 5c0: 42a1 cmp r1, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
232 5c2: d901 bls 0x5c8
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
233 5c4: 1c0b mov r3, r1 (add r3, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
234 5c6: e001 b 0x5cc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
235 5c8: 2320 mov r3, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
236 5ca: 185b add r3, r3, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
237 5cc: 429d cmp r5, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
238 5ce: db11 blt 0x5f4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
239 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
240 5d0: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
241 5d2: d901 bls 0x5d8
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
242 5d4: 1c01 mov r1, r0 (add r1, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
243 5d6: e001 b 0x5dc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
244 5d8: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
245 5da: 1809 add r1, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
246 5dc: 6a13 ldr r3, [r2, #32] ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
247 5de: 42a3 cmp r3, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
248 5e0: d802 bhi 0x5e8
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
249 5e2: 2220 mov r2, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
250 5e4: 18d2 add r2, r2, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
251 5e6: e000 b 0x5ea
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
252 5e8: 1c1a mov r2, r3 (add r2, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
253 5ea: 4291 cmp r1, r2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
254 5ec: d95f bls 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
255 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
256 5ee: 0618 lsl r0, r3, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
257 5f0: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
258 5f2: e05c b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
259 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
260 5f4: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
261 5f6: e05a b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
262 ; case DCS1800:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
263 5f8: 6a54 ldr r4, [r2, #36] ; 0x24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
264 5fa: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
265 5fc: d901 bls 0x602
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
266 5fe: 1c05 mov r5, r0 (add r5, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
267 600: e001 b 0x606
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
268 602: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
269 604: 180d add r5, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
270 606: 4932 ldr r1, =_MIN_TXPWR_DCS ; via 0x6d0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
271 608: 4b2d ldr r3, =_l1a_l1s_com+0x335 ; via 0x6c0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
272 60a: 781b ldrb r3, [r3, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
273 60c: 5cc9 ldrb r1, [r1, r3]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
274 60e: 42a1 cmp r1, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
275 610: d901 bls 0x616
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
276 612: 1c0b mov r3, r1 (add r3, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
277 614: e001 b 0x61a
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
278 616: 2320 mov r3, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
279 618: 185b add r3, r3, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
280 61a: 429d cmp r5, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
281 61c: db11 blt 0x642
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
282 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
283 61e: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
284 620: d901 bls 0x626
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
285 622: 1c01 mov r1, r0 (add r1, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
286 624: e001 b 0x62a
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
287 626: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
288 628: 1809 add r1, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
289 62a: 69d3 ldr r3, [r2, #28] ; 0x1c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
290 62c: 42a3 cmp r3, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
291 62e: d802 bhi 0x636
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
292 630: 2220 mov r2, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
293 632: 18d2 add r2, r2, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
294 634: e000 b 0x638
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
295 636: 1c1a mov r2, r3 (add r2, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
296 638: 4291 cmp r1, r2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
297 63a: d938 bls 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
298 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
299 63c: 0618 lsl r0, r3, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
300 63e: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
301 640: e035 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
302 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
303 642: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
304 644: e033 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
305 ; case PCS1900:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
306 646: 6a54 ldr r4, [r2, #36] ; 0x24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
307 648: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
308 64a: d901 bls 0x650
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
309 64c: 1c05 mov r5, r0 (add r5, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
310 64e: e001 b 0x654
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
311 650: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
312 652: 180d add r5, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
313 654: 4b1b ldr r3, =_MIN_TXPWR_PCS ; via 0x6c4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
314 656: 491a ldr r1, =_l1a_l1s_com+0x335 ; via 0x6c0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
315 658: 7809 ldrb r1, [r1, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
316 65a: 5c59 ldrb r1, [r3, r1]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
317 65c: 42a1 cmp r1, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
318 65e: d901 bls 0x664
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
319 660: 1c0b mov r3, r1 (add r3, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
320 662: e001 b 0x668
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
321 664: 2320 mov r3, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
322 666: 185b add r3, r3, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
323 668: 429d cmp r5, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
324 66a: db11 blt 0x690
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
325 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
326 66c: 42a0 cmp r0, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
327 66e: d901 bls 0x674
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
328 670: 1c01 mov r1, r0 (add r1, r0, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
329 672: e001 b 0x678
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
330 674: 2120 mov r1, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
331 676: 1809 add r1, r1, r0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
332 678: 69d3 ldr r3, [r2, #28] ; 0x1c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
333 67a: 42a3 cmp r3, r4
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
334 67c: d802 bhi 0x684
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
335 67e: 2220 mov r2, #32 ; 0x20
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
336 680: 18d2 add r2, r2, r3
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
337 682: e000 b 0x686
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
338 684: 1c1a mov r2, r3 (add r2, r3, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
339 686: 4291 cmp r1, r2
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
340 688: d911 bls 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
341 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
342 68a: 0618 lsl r0, r3, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
343 68c: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
344 68e: e00e b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
345 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
346 690: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
347 692: e00c b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
348 ; case GSM:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
349 ; case GSM_E:
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
350 694: 4b0d ldr r3, =_MIN_TXPWR_GSM ; via 0x6cc
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
351 696: 490a ldr r1, =_l1a_l1s_com+0x335 ; via 0x6c0
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
352 698: 7809 ldrb r1, [r1, #0]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
353 69a: 5c59 ldrb r1, [r3, r1]
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
354 69c: 4288 cmp r0, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
355 69e: db05 blt 0x6ac
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
356 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
357 6a0: 69d1 ldr r1, [r2, #28] ; 0x1c
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
358 6a2: 4288 cmp r0, r1
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
359 6a4: d903 bls 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
360 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
361 6a6: 0608 lsl r0, r1, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
362 6a8: 0e00 lsr r0, r0, #24
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
363 6aa: e000 b 0x6ae
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
364 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
365 6ac: 1c08 mov r0, r1 (add r0, r1, #0)
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
366 ; line
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
367 6ae: bd30 pop {r4, r5, pc}
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
368 ; End function
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
369
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
370 Conclusion: the logic contained in the above disassembly is exactly the same
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
371 as in the available C code, but there must have been some change to the code
576e684603e0 l1_afunc.c differences analysed
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
372 expression that results in different output from the compiler.