comparison dsample-fw-disasm @ 304:a46e191a980e

dsample-fw-disasm: Tx up/down functions located and analysed
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 06 Oct 2019 01:29:35 +0000
parents 3baaefa1e229
children da3e752cbed5
comparison
equal deleted inserted replaced
303:3baaefa1e229 304:a46e191a980e
4925 812da8: 4809 ldr r0, =0x8041 ; via 0x812dd0 4925 812da8: 4809 ldr r0, =0x8041 ; via 0x812dd0
4926 812daa: 8008 strh r0, [r1, #0] 4926 812daa: 8008 strh r0, [r1, #0]
4927 812dac: b001 add sp, #4 4927 812dac: b001 add sp, #4
4928 812dae: 4770 bx lr 4928 812dae: 4770 bx lr
4929 4929
4930 $l1dmacro_tx_up:
4931 812df0: 49f7 ldr r1, =0x83c0a4 ; via 0x8131d0
4932 812df2: 6808 ldr r0, [r1, #0]
4933 812df4: 1c82 add r2, r0, #2
4934 812df6: 600a str r2, [r1, #0]
4935 812df8: 49cd ldr r1, =0x3309 ; via 0x813130
4936 812dfa: 8001 strh r1, [r0, #0]
4937 812dfc: 2014 mov r0, #20 ; 0x14
4938 812dfe: 4957 ldr r1, =0x83c0a1 ; via 0x812f5c
4939 812e00: 7809 ldrb r1, [r1, #0]
4940 812e02: 4348 mul r0, r1
4941 812e04: 4956 ldr r1, =0x83c048 ; via 0x812f60
4942 812e06: 5a09 ldrh r1, [r1, r0]
4943 812e08: 20ab mov r0, #171 ; 0xab
4944 812e0a: 00c0 lsl r0, r0, #3
4945 812e0c: 4308 orr r0, r1
4946 812e0e: 49c9 ldr r1, =0x83c09c ; via 0x813134
4947 812e10: 6008 str r0, [r1, #0]
4948 812e12: 48ef ldr r0, =0x83c0a4 ; via 0x8131d0
4949 812e14: 6801 ldr r1, [r0, #0]
4950 812e16: 1c8a add r2, r1, #2
4951 812e18: 6002 str r2, [r0, #0]
4952 812e1a: 48c7 ldr r0, =0x8004 ; via 0x813138
4953 812e1c: 4ac5 ldr r2, =0x83c09c ; via 0x813134
4954 812e1e: 6812 ldr r2, [r2, #0]
4955 812e20: 0a12 lsr r2, r2, #8
4956 812e22: 0612 lsl r2, r2, #24
4957 812e24: 0e12 lsr r2, r2, #24
4958 812e26: 0152 lsl r2, r2, #5
4959 812e28: 4310 orr r0, r2
4960 812e2a: 8008 strh r0, [r1, #0]
4961 812e2c: 48e8 ldr r0, =0x83c0a4 ; via 0x8131d0
4962 812e2e: 6801 ldr r1, [r0, #0]
4963 812e30: 1c8a add r2, r1, #2
4964 812e32: 6002 str r2, [r0, #0]
4965 812e34: 48ef ldr r0, =0x8003 ; via 0x8131f4
4966 812e36: 4abf ldr r2, =0x83c09c ; via 0x813134
4967 812e38: 6812 ldr r2, [r2, #0]
4968 812e3a: 0612 lsl r2, r2, #24
4969 812e3c: 0e12 lsr r2, r2, #24
4970 812e3e: 0152 lsl r2, r2, #5
4971 812e40: 4310 orr r0, r2
4972 812e42: 8008 strh r0, [r1, #0]
4973 812e44: 48e2 ldr r0, =0x83c0a4 ; via 0x8131d0
4974 812e46: 6801 ldr r1, [r0, #0]
4975 812e48: 1c8a add r2, r1, #2
4976 812e4a: 6002 str r2, [r0, #0]
4977 812e4c: 484f ldr r0, =0x89e0 ; via 0x812f8c
4978 812e4e: 8008 strh r0, [r1, #0]
4979 812e50: 49df ldr r1, =0x83c0a4 ; via 0x8131d0
4980 812e52: 6808 ldr r0, [r1, #0]
4981 812e54: 1c82 add r2, r0, #2
4982 812e56: 600a str r2, [r1, #0]
4983 812e58: 49f2 ldr r1, =0x8041 ; via 0x813224
4984 812e5a: 8001 strh r1, [r0, #0]
4985 812e5c: 48dc ldr r0, =0x83c0a4 ; via 0x8131d0
4986 812e5e: 6801 ldr r1, [r0, #0]
4987 812e60: 1c8a add r2, r1, #2
4988 812e62: 6002 str r2, [r0, #0]
4989 812e64: 48fa ldr r0, =0x333a ; via 0x813250
4990 812e66: 8008 strh r0, [r1, #0]
4991 812e68: 49b2 ldr r1, =0x83c09c ; via 0x813134
4992 812e6a: 48ed ldr r0, =0x140753 ; via 0x813220
4993 812e6c: 6008 str r0, [r1, #0]
4994 812e6e: 48d8 ldr r0, =0x83c0a4 ; via 0x8131d0
4995 812e70: 6801 ldr r1, [r0, #0]
4996 812e72: 1c8a add r2, r1, #2
4997 812e74: 6002 str r2, [r0, #0]
4998 812e76: 48b0 ldr r0, =0x8004 ; via 0x813138
4999 812e78: 4aae ldr r2, =0x83c09c ; via 0x813134
5000 812e7a: 6812 ldr r2, [r2, #0]
5001 812e7c: 0c12 lsr r2, r2, #16
5002 812e7e: 0612 lsl r2, r2, #24
5003 812e80: 0e12 lsr r2, r2, #24
5004 812e82: 0152 lsl r2, r2, #5
5005 812e84: 4310 orr r0, r2
5006 812e86: 8008 strh r0, [r1, #0]
5007 812e88: 49d1 ldr r1, =0x83c0a4 ; via 0x8131d0
5008 812e8a: 6808 ldr r0, [r1, #0]
5009 812e8c: 1c82 add r2, r0, #2
5010 812e8e: 600a str r2, [r1, #0]
5011 812e90: 49d8 ldr r1, =0x8003 ; via 0x8131f4
5012 812e92: 4aa8 ldr r2, =0x83c09c ; via 0x813134
5013 812e94: 6812 ldr r2, [r2, #0]
5014 812e96: 0a12 lsr r2, r2, #8
5015 812e98: 0612 lsl r2, r2, #24
5016 812e9a: 0e12 lsr r2, r2, #24
5017 812e9c: 0152 lsl r2, r2, #5
5018 812e9e: 4311 orr r1, r2
5019 812ea0: 8001 strh r1, [r0, #0]
5020 812ea2: 48cb ldr r0, =0x83c0a4 ; via 0x8131d0
5021 812ea4: 6801 ldr r1, [r0, #0]
5022 812ea6: 1c8a add r2, r1, #2
5023 812ea8: 6002 str r2, [r0, #0]
5024 812eaa: 48f4 ldr r0, =0x8002 ; via 0x81327c
5025 812eac: 4aa1 ldr r2, =0x83c09c ; via 0x813134
5026 812eae: 6812 ldr r2, [r2, #0]
5027 812eb0: 0612 lsl r2, r2, #24
5028 812eb2: 0e12 lsr r2, r2, #24
5029 812eb4: 0152 lsl r2, r2, #5
5030 812eb6: 4310 orr r0, r2
5031 812eb8: 8008 strh r0, [r1, #0]
5032 812eba: 49c5 ldr r1, =0x83c0a4 ; via 0x8131d0
5033 812ebc: 6808 ldr r0, [r1, #0]
5034 812ebe: 1c82 add r2, r0, #2
5035 812ec0: 600a str r2, [r1, #0]
5036 812ec2: 49f4 ldr r1, =0x8ae0 ; via 0x813294
5037 812ec4: 8001 strh r1, [r0, #0]
5038 812ec6: 49c2 ldr r1, =0x83c0a4 ; via 0x8131d0
5039 812ec8: 6808 ldr r0, [r1, #0]
5040 812eca: 1c82 add r2, r0, #2
5041 812ecc: 600a str r2, [r1, #0]
5042 812ece: 49d5 ldr r1, =0x8041 ; via 0x813224
5043 812ed0: 8001 strh r1, [r0, #0]
5044 812ed2: 49bf ldr r1, =0x83c0a4 ; via 0x8131d0
5045 812ed4: 6808 ldr r0, [r1, #0]
5046 812ed6: 1c82 add r2, r0, #2
5047 812ed8: 600a str r2, [r1, #0]
5048 812eda: 49f4 ldr r1, =0x3384 ; via 0x8132ac
5049 812edc: 8001 strh r1, [r0, #0]
5050 812ede: 49bc ldr r1, =0x83c0a4 ; via 0x8131d0
5051 812ee0: 6808 ldr r0, [r1, #0]
5052 812ee2: 1c82 add r2, r0, #2
5053 812ee4: 600a str r2, [r1, #0]
5054 812ee6: 49f2 ldr r1, =0x9404 ; via 0x8132b0
5055 812ee8: 8001 strh r1, [r0, #0]
5056 812eea: 49b9 ldr r1, =0x83c0a4 ; via 0x8131d0
5057 812eec: 6808 ldr r0, [r1, #0]
5058 812eee: 1c82 add r2, r0, #2
5059 812ef0: 600a str r2, [r1, #0]
5060 812ef2: 4950 ldr r1, =0x80c0 ; via 0x813034
5061 812ef4: 8001 strh r1, [r0, #0]
5062 812ef6: 49b6 ldr r1, =0x83c0a4 ; via 0x8131d0
5063 812ef8: 6808 ldr r0, [r1, #0]
5064 812efa: 1c82 add r2, r0, #2
5065 812efc: 600a str r2, [r1, #0]
5066 812efe: 49c9 ldr r1, =0x8041 ; via 0x813224
5067 812f00: 8001 strh r1, [r0, #0]
5068 812f02: 49b3 ldr r1, =0x83c0a4 ; via 0x8131d0
5069 812f04: 6808 ldr r0, [r1, #0]
5070 812f06: 1c82 add r2, r0, #2
5071 812f08: 600a str r2, [r1, #0]
5072 812f0a: 49f3 ldr r1, =0x2010 ; via 0x8132d8
5073 812f0c: 8001 strh r1, [r0, #0]
5074 812f0e: 48b0 ldr r0, =0x83c0a4 ; via 0x8131d0
5075 812f10: 6801 ldr r1, [r0, #0]
5076 812f12: 1c8a add r2, r1, #2
5077 812f14: 6002 str r2, [r0, #0]
5078 812f16: 2014 mov r0, #20 ; 0x14
5079 812f18: 4a10 ldr r2, =0x83c0a1 ; via 0x812f5c
5080 812f1a: 7812 ldrb r2, [r2, #0]
5081 812f1c: 4350 mul r0, r2
5082 812f1e: 4aef ldr r2, =0x83c04c ; via 0x8132dc
5083 812f20: 5c12 ldrb r2, [r2, r0]
5084 812f22: 2001 mov r0, #1
5085 812f24: 4310 orr r0, r2
5086 812f26: 0142 lsl r2, r0, #5
5087 812f28: 4852 ldr r0, =0x8006 ; via 0x813074
5088 812f2a: 4310 orr r0, r2
5089 812f2c: 8008 strh r0, [r1, #0]
5090 812f2e: 48a8 ldr r0, =0x83c0a4 ; via 0x8131d0
5091 812f30: 6801 ldr r1, [r0, #0]
5092 812f32: 1c8a add r2, r1, #2
5093 812f34: 6002 str r2, [r0, #0]
5094 812f36: 48f6 ldr r0, =0x2018 ; via 0x813310
5095 812f38: 8008 strh r0, [r1, #0]
5096 812f3a: 48a5 ldr r0, =0x83c0a4 ; via 0x8131d0
5097 812f3c: 6802 ldr r2, [r0, #0]
5098 812f3e: 1c91 add r1, r2, #2
5099 812f40: 6001 str r1, [r0, #0]
5100 812f42: 2014 mov r0, #20 ; 0x14
5101 812f44: 49f3 ldr r1, =0x83c0a1 ; via 0x813314
5102 812f46: 7809 ldrb r1, [r1, #0]
5103 812f48: 4348 mul r0, r1
5104 812f4a: 49e4 ldr r1, =0x83c04c ; via 0x8132dc
5105 812f4c: 5c09 ldrb r1, [r1, r0]
5106 812f4e: 2021 mov r0, #33 ; 0x21
5107 812f50: 4308 orr r0, r1
5108 812f52: 0140 lsl r0, r0, #5
5109 812f54: 4947 ldr r1, =0x8006 ; via 0x813074
5110 812f56: 4301 orr r1, r0
5111 812f58: 8011 strh r1, [r2, #0]
5112 812f5a: 4770 bx lr
5113
5114 $l1dmacro_tx_down:
5115 812f90: b500 push {lr}
5116 812f92: b082 sub sp, #8
5117 812f94: 466b mov r3, sp
5118 812f96: 715a strb r2, [r3, #5]
5119 812f98: 466a mov r2, sp
5120 812f9a: 7111 strb r1, [r2, #4]
5121 812f9c: 9000 str r0, [sp, #0]
5122 812f9e: 4668 mov r0, sp
5123 812fa0: 7940 ldrb r0, [r0, #5]
5124 812fa2: 2803 cmp r0, #3
5125 812fa4: d103 bne 0x812fae
5126 812fa6: 9800 ldr r0, [sp, #0]
5127 812fa8: 382c sub r0, #44 ; 0x2c
5128 812faa: f000 fdbb bl 0x813b24 ; $l1dmacro_adc_read_tx
5129 812fae: 4888 ldr r0, =0x83c0a4 ; via 0x8131d0
5130 812fb0: 6802 ldr r2, [r0, #0]
5131 812fb2: 1c91 add r1, r2, #2
5132 812fb4: 6001 str r1, [r0, #0]
5133 812fb6: 2001 mov r0, #1
5134 812fb8: 0340 lsl r0, r0, #13
5135 812fba: 9900 ldr r1, [sp, #0]
5136 812fbc: 3904 sub r1, #4
5137 812fbe: 4308 orr r0, r1
5138 812fc0: 8010 strh r0, [r2, #0]
5139 812fc2: 4983 ldr r1, =0x83c0a4 ; via 0x8131d0
5140 812fc4: 6808 ldr r0, [r1, #0]
5141 812fc6: 1c82 add r2, r0, #2
5142 812fc8: 600a str r2, [r1, #0]
5143 812fca: 49f8 ldr r1, =0x9004 ; via 0x8133ac
5144 812fcc: 8001 strh r1, [r0, #0]
5145 812fce: 4980 ldr r1, =0x83c0a4 ; via 0x8131d0
5146 812fd0: 6808 ldr r0, [r1, #0]
5147 812fd2: 1c82 add r2, r0, #2
5148 812fd4: 600a str r2, [r1, #0]
5149 812fd6: 4917 ldr r1, =0x80c0 ; via 0x813034
5150 812fd8: 8001 strh r1, [r0, #0]
5151 812fda: 497d ldr r1, =0x83c0a4 ; via 0x8131d0
5152 812fdc: 6808 ldr r0, [r1, #0]
5153 812fde: 1c82 add r2, r0, #2
5154 812fe0: 600a str r2, [r1, #0]
5155 812fe2: 4990 ldr r1, =0x8041 ; via 0x813224
5156 812fe4: 8001 strh r1, [r0, #0]
5157 812fe6: 487a ldr r0, =0x83c0a4 ; via 0x8131d0
5158 812fe8: 6802 ldr r2, [r0, #0]
5159 812fea: 1c91 add r1, r2, #2
5160 812fec: 6001 str r1, [r0, #0]
5161 812fee: 2001 mov r0, #1
5162 812ff0: 0341 lsl r1, r0, #13
5163 812ff2: 9800 ldr r0, [sp, #0]
5164 812ff4: 300d add r0, #13 ; 0xd
5165 812ff6: 4301 orr r1, r0
5166 812ff8: 8011 strh r1, [r2, #0]
5167 812ffa: 4875 ldr r0, =0x83c0a4 ; via 0x8131d0
5168 812ffc: 6801 ldr r1, [r0, #0]
5169 812ffe: 1c8a add r2, r1, #2
5170 813000: 6002 str r2, [r0, #0]
5171 813002: 2014 mov r0, #20 ; 0x14
5172 813004: 4ac3 ldr r2, =0x83c0a1 ; via 0x813314
5173 813006: 7812 ldrb r2, [r2, #0]
5174 813008: 4350 mul r0, r2
5175 81300a: 4ae7 ldr r2, =0x83c04d ; via 0x8133a8
5176 81300c: 5c12 ldrb r2, [r2, r0]
5177 81300e: 2021 mov r0, #33 ; 0x21
5178 813010: 4310 orr r0, r2
5179 813012: 0142 lsl r2, r0, #5
5180 813014: 4817 ldr r0, =0x8006 ; via 0x813074
5181 813016: 4310 orr r0, r2
5182 813018: 8008 strh r0, [r1, #0]
5183 81301a: 486d ldr r0, =0x83c0a4 ; via 0x8131d0
5184 81301c: 6802 ldr r2, [r0, #0]
5185 81301e: 1c91 add r1, r2, #2
5186 813020: 6001 str r1, [r0, #0]
5187 813022: 2001 mov r0, #1
5188 813024: 0341 lsl r1, r0, #13
5189 813026: 9800 ldr r0, [sp, #0]
5190 813028: 3016 add r0, #22 ; 0x16
5191 81302a: 4301 orr r1, r0
5192 81302c: 8011 strh r1, [r2, #0]
5193 81302e: 4868 ldr r0, =0x83c0a4 ; via 0x8131d0
5194 813030: 6802 ldr r2, [r0, #0]
5195 813032: e001 b 0x813038
5196
5197 813034: 000080c0
5198
5199 813038: 1c91 add r1, r2, #2
5200 81303a: 6001 str r1, [r0, #0]
5201 81303c: 2014 mov r0, #20 ; 0x14
5202 81303e: 49b5 ldr r1, =0x83c0a1 ; via 0x813314
5203 813040: 7809 ldrb r1, [r1, #0]
5204 813042: 4348 mul r0, r1
5205 813044: 49d8 ldr r1, =0x83c04d ; via 0x8133a8
5206 813046: 5c09 ldrb r1, [r1, r0]
5207 813048: 2001 mov r0, #1
5208 81304a: 4308 orr r0, r1
5209 81304c: 0141 lsl r1, r0, #5
5210 81304e: 4809 ldr r0, =0x8006 ; via 0x813074
5211 813050: 4308 orr r0, r1
5212 813052: 8010 strh r0, [r2, #0]
5213 813054: 495e ldr r1, =0x83c0a4 ; via 0x8131d0
5214 813056: 6808 ldr r0, [r1, #0]
5215 813058: 1c82 add r2, r0, #2
5216 81305a: 600a str r2, [r1, #0]
5217 81305c: 49d7 ldr r1, =0x8304 ; via 0x8133bc
5218 81305e: 8001 strh r1, [r0, #0]
5219 813060: 495b ldr r1, =0x83c0a4 ; via 0x8131d0
5220 813062: 6808 ldr r0, [r1, #0]
5221 813064: 1c82 add r2, r0, #2
5222 813066: 600a str r2, [r1, #0]
5223 813068: 49d1 ldr r1, =0x88e0 ; via 0x8133b0
5224 81306a: 8001 strh r1, [r0, #0]
5225 81306c: 4958 ldr r1, =0x83c0a4 ; via 0x8131d0
5226 81306e: 6808 ldr r0, [r1, #0]
5227 813070: e002 b 0x813078
5228 813072: 46c0 nop (mov r8, r8)
5229
5230 813074: 00008006
5231
5232 813078: 1c82 add r2, r0, #2
5233 81307a: 600a str r2, [r1, #0]
5234 81307c: 4969 ldr r1, =0x8041 ; via 0x813224
5235 81307e: 8001 strh r1, [r0, #0]
5236 813080: 4853 ldr r0, =0x83c0a4 ; via 0x8131d0
5237 813082: 6802 ldr r2, [r0, #0]
5238 813084: 1c91 add r1, r2, #2
5239 813086: 6001 str r1, [r0, #0]
5240 813088: 2001 mov r0, #1
5241 81308a: 0341 lsl r1, r0, #13
5242 81308c: 9800 ldr r0, [sp, #0]
5243 81308e: 301d add r0, #29 ; 0x1d
5244 813090: 4301 orr r1, r0
5245 813092: 8011 strh r1, [r2, #0]
5246 813094: 494e ldr r1, =0x83c0a4 ; via 0x8131d0
5247 813096: 6808 ldr r0, [r1, #0]
5248 813098: 1c82 add r2, r0, #2
5249 81309a: 600a str r2, [r1, #0]
5250 81309c: 4923 ldr r1, =0x8004 ; via 0x81312c
5251 81309e: 8001 strh r1, [r0, #0]
5252 8130a0: 494b ldr r1, =0x83c0a4 ; via 0x8131d0
5253 8130a2: 6808 ldr r0, [r1, #0]
5254 8130a4: 1c82 add r2, r0, #2
5255 8130a6: 600a str r2, [r1, #0]
5256 8130a8: 49c2 ldr r1, =0x80c0 ; via 0x8133b4
5257 8130aa: 8001 strh r1, [r0, #0]
5258 8130ac: 4948 ldr r1, =0x83c0a4 ; via 0x8131d0
5259 8130ae: 6808 ldr r0, [r1, #0]
5260 8130b0: 1c82 add r2, r0, #2
5261 8130b2: 600a str r2, [r1, #0]
5262 8130b4: 495b ldr r1, =0x8041 ; via 0x813224
5263 8130b6: 8001 strh r1, [r0, #0]
5264 8130b8: 4845 ldr r0, =0x83c0a4 ; via 0x8131d0
5265 8130ba: 6802 ldr r2, [r0, #0]
5266 8130bc: 1c91 add r1, r2, #2
5267 8130be: 6001 str r1, [r0, #0]
5268 8130c0: 2014 mov r0, #20 ; 0x14
5269 8130c2: 4994 ldr r1, =0x83c0a1 ; via 0x813314
5270 8130c4: 7809 ldrb r1, [r1, #0]
5271 8130c6: 4348 mul r0, r1
5272 8130c8: 49b7 ldr r1, =0x83c04d ; via 0x8133a8
5273 8130ca: 5c08 ldrb r0, [r1, r0]
5274 8130cc: 2109 mov r1, #9
5275 8130ce: 4301 orr r1, r0
5276 8130d0: 0148 lsl r0, r1, #5
5277 8130d2: 49b9 ldr r1, =0x8006 ; via 0x8133b8
5278 8130d4: 4301 orr r1, r0
5279 8130d6: 8011 strh r1, [r2, #0]
5280 8130d8: b002 add sp, #8
5281 8130da: bd00 pop {pc}
5282
4930 $l1dmacro_rx_nb: 5283 $l1dmacro_rx_nb:
4931 8130e0: b500 push {lr} 5284 8130e0: b500 push {lr}
4932 8130e2: b081 sub sp, #4 5285 8130e2: b081 sub sp, #4
4933 8130e4: 4669 mov r1, sp 5286 8130e4: 4669 mov r1, sp
4934 8130e6: 8008 strh r0, [r1, #0] 5287 8130e6: 8008 strh r0, [r1, #0]